解决使用LNMP环境包下wordpress主题显示不全

因为图方便,一直在用LNMP的环境包来搭建服务,但是有个问题是作者在php中把scandir函数禁用了,导致无论你安装多少个主题,在主题界面下只显示当前应用的主题。

解决办法如下:

找到你的php.ini配置文件,一般默认的目录为:/usr/local/php/etc/下,然后搜索disable_functions,在后面找到scandir,删除掉,保存,然后回到LNMP的安装目录,运行

lnmp restart

大功告成,回到后台管理刷新一下,就会出现你所有已安装的主题了·~~

分享到:

39,896 条评论

昵称
  1. Kubernetes pods

    Generally I do not learn article on blogs, but I would like
    to say that this write-up very compelled me to check out and do
    it! Your writing taste has been amazed me. Thanks, very nice article.

  2. Excellent write-up. I definitely love this website. Keep writing!

  3. Hey there! Do you use Twitter? I’d like to follow you if that would be ok.
    I’m absolutely enjoying your blog and look forward to
    new posts.

  4. Wendy

    Your style is very unique compared to other folks I have read
    stuff from. Thanks for posting when you have the opportunity, Guess I
    will just bookmark this blog.

  5. Peculiar article, totally what I was looking for.

  6. rough sex gifs

    69. When you’re having sex with a lover call your husband, then leave the phone
    turned on so he can listen in. 60. Become known and be
    seen as a “couple” in public with a regular lover.
    42. Accompany a lover to a local swingers club as a couple.
    44. Let your lover bend you over his knee and spank you, with
    your husband watching. Make your husband put it on your ankle
    for you, reminding him that it tells men you’re available.
    20. Make your husband help find men for you, or make all the
    arrangements for a date so you just have to show up and get laid.
    STOLEN GEAR FUNDRAISER SHOW FOR COYOTE LEGS w/NO SHOW CADILLAC, THE
    BACKYARD REVIVAL and JOHN THURSDAY at the Nick.
    Sometimes you want to watch those tits bounce wile you
    hold her legs to her shoulders or even watch her ass presented to the
    world while she deep throats your throbbing shaft.

  7. I was suggested this web site by way of my cousin. I am not certain whether this publish is
    written via him as nobody else understand such
    precise about my difficulty. You’re amazing! Thanks!

  8. I used to be able to find good info from your content.

  9. This info is invaluable. How can I find out more?

  10. shopping

    Excellent weblog here! Additionally your website rather a lot up fast!
    What web host are you using? Can I am getting your affiliate link for
    your host? I wish my web site loaded up as fast as
    yours lol

  11. Rosalinda

    Link exchange is nothing else however it is simply placing the other person’s blog
    link on your page at suitable place and other person will
    also do same in favor of you.

  12. Wow, awesome weblog layout! How lengthy have you been blogging for?
    you make blogging look easy. The entire glance of
    your site is wonderful, let alone the content!

  13. It’s an amazing post in support of all the online users; they will take benefit
    from it I am sure.

  14. It’s a shame you don’t have a donate button! I’d most certainly donate
    to this fantastic blog! I suppose for now i’ll settle for bookmarking and adding
    your RSS feed to my Google account. I look forward to fresh updates and will talk about this blog with my Facebook group.
    Talk soon!

  15. clique aqui

    I am truly happy to glance at this website posts which includes
    plenty of helpful facts, thanks for providing
    such data.

  16. Claudio

    In 10 Minutes, I’ll Give You The Truth About Marco Bitran If you are going to be there you will most likely be looking for things to do in Boston. There are numerous things that you just must not miss out on while you exist. , if you are into movies and television Boston has a walking tour that you must not miss. It takes you to locations that have been used in films and on TELEVISION. You can go to the bar from the iconic tv program cheers and even get a beverage there. The walking trip last around one and half-hours.|If you are into movies and television Boston has a strolling tour that you should not miss. It takes you to places that have been used in films and on TELEVISION. You can check out the bar from the iconic television show cheers and even get a drink there. Another stop that needs to be on your list of things to do in Boston is going to the museum of bad art. You can check out a museum of terrific works of art anywhere in the country but in Boston you can in fact check out a museum committed to bad art work. If you are not an enthusiast of art you may believe that all museums have bad art however you have not seen anything like this location. |, if you are not a lover of art you might think that all museums have bad art but you have not seen anything like this location.. The art work that you will see will offer you hours of story ideas with your good friends.How To Sell Marco Bitran. This might be the primary topic of discussion for months when you get house from getaway. Once you get house from holiday, this may be the number one topic of discussion for months. How might you not get your buddies attention by stating, “Hey I went to check out the museum of bad art”. That makes sure to get anybody’s attention. Another stop that must be on your list of things to do in Boston is going to the museum of bad art. You can check out a museum of excellent works of art anywhere in the country but in Boston you can really check out a museum dedicated to bad art work. How might you not get your buddies attention by saying. The final stop on your trip to Boston ought to be a sailboat ride. Jamaica pond is stunning and the finest way to experience it is via sailboat. You can lease a sailboat at the pond. barns and pipes and cleared the lowlands for. Hills among their very first purchases for land reserve for entertainment. Today, Blue Hills. Reservation maintains 7,000 acres of land where you can trek with your canine in the. Some 125 miles of tracks check out a range of surface from meadows and hills to forests. Keep your direct for sweeping views of the metropolitan location. Boston – wood rattlesnakes, coyote and otters. If you are into films and television Boston has a walking trip that you should not miss. Another stop that must be on your list of things to do in Boston is going to the museum of bad art. You can go to a museum of fantastic works of art anywhere in the country but in Boston you can actually go to a museum committed to bad artwork. There are numerous other things to do in Boston during the summer but these are a few that you ought to not miss. Wherever you choose to go when you get there Boston is a great location to visit on getaway or on service alone or with the household Boston is a great location.

  17. I loved as much as you’ll receive carried out right here.
    The sketch is tasteful, your authored subject matter stylish.

    nonetheless, you command get bought an impatience over that you wish be delivering the following.
    unwell unquestionably come more formerly again since exactly the same nearly very often inside case you shield this increase.

  18. I want to to thank you for this good read!! I certainly enjoyed
    every bit of it. I have got you book marked to check
    out new things you post…

  19. 영화 추천

    At this moment I am ready to do my breakfast, afterward having my breakfast coming again to read more news.

  20. website

    It’s a pity you don’t have a donate button! I’d without a
    doubt donate to this superb blog! I guess for now i’ll settle for bookmarking and adding your RSS feed to my
    Google account. I look forward to new updates
    and will talk about this website with my Facebook group.
    Talk soon!

  21. You really make it seem so easy with your presentation but I to find this matter to be
    really something that I believe I would never understand.
    It sort of feels too complex and very extensive for me.
    I’m having a look forward to your subsequent post, I’ll
    attempt to get the dangle of it!

  22. idim Viet Nam

    This is my first time go to see at here and i am actually happy to
    read everthing at single place.

  23. Much obliged for authoring such an enlightening post – it’s excellent!

  24. Hey there! I know this is kinda off topic however , I’d
    figured I’d ask. Would you be interested in trading links or
    maybe guest authoring a blog article or vice-versa?
    My site discusses a lot of the same topics as yours and I believe we could greatly benefit from each other.

    If you’re interested feel free to send me an email.
    I look forward to hearing from you! Fantastic blog by the way!

  25. Hi mates, its impressive post concerning educationand entirely explained, keep it up all the time.

  26. If you are going for best contents like myself, just visit this site all the time for the reason that it offers quality
    contents, thanks

  27. www

    Post writing is also a fun, if you know then you can write or else it is difficult to write.

  28. Hola! I’ve been following your weblog for a long time now and finally got the courage to go ahead and give you a shout out from Kingwood Texas!
    Just wanted to say keep up the fantastic job!

  29. My spouse and I stumbled over here from a different web address and thought I might as well check things out.
    I like what I see so i am just following you. Look forward to exploring your web
    page yet again.

  30. Hurrah! Aftwr all I got a web site from where I be capable of actually take helpful
    information concerning my study and knowledge.