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

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

解决办法如下:

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

lnmp restart

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

分享到:

4,002 条评论

昵称
  1. 합천출장안마

    Hi there, always i used to check blog posts here in the early hours in the break of day, as
    i love to find out more and more.

  2. 하동출장안마

    Thank you for sharing your thoughts. I really appreciate your efforts and I am waiting for your further post thank
    you once again.

  3. Robertadure 您的评论正在等待审核。

    Regards! I like it!
    ed meds online without doctor prescription
    prescription without a doctor’s prescription – https://canadianpharmaciescubarx.com/

    canadian pharmacy online tuh 3857b41

  4. EdwardNeept 您的评论正在等待审核。

    This is nicely said! .
    london drugs canada
    prescription drug price comparison – https://canadianpharmaciescubarx.com/

    discount pharmaceuticals mor 149acde

  5. minecraft games

    Yesterday, while I was at work, my sister
    stole my iPad and tested to see if it can survive a 25 foot drop, just so she can be a youtube sensation.
    My apple ipad is now destroyed and she has 83 views. I know this is totally
    off topic but I had to share it with someone!

  6. RonaldSkync 您的评论正在等待审核。

    Regards. A lot of tips!

    canada pharmacy
    canada drug – http://canadianpharmacyntv.com/

    northwestpharmacy Kake 3de83f3

  7. 태백콜걸

    Hello, i believe that i noticed you visited my weblog thus i came to return the want?.I
    am attempting to in finding things to improve my web site!I guess its good enough
    to make use of a few of your ideas!!

  8. Robertadure 您的评论正在等待审核。
  9. Larry

    The Cryptosporidium however, is a parasite that can survive outdoors of a
    host body as a result of its outer shell,
    as it offers resistance even against chlorine-based disinfectants.
    Developmenticon is a longtime Drupal companies company based in india, gives Drupal set
    up, configuration, design, module growth, drupal customization, coaching, support and different consulting providers.
    Shower your husband or accomplice with praises and make sure
    to assist them in no matter they do in order that they wont search for praises from someone else.
    Never take your accomplice for granted. Make the perfect utilization of your propelled cell by watching vocabulary change chronicles, take within the similar phrases, antonyms and explicit parts
    of speak of the phrase and not using a moment’s delay.
    In different words, whether you win or lose, you
    get to win free cash. Here’s five prime tips for solar ovens to get you started.
    You may get rid of fleas on dogs, cats and other pets naturally
    using a flea comb and homemade lemon repellent.
    Other ear issues can resemble an ear mite infestation, so it
    is very important get a diagnosis from a veterinarian earlier than starting therapy.

    Microscopic ear mites stay inside the ears of rabbits, ferrets,
    cats and typically canines.

  10. EdwardNeept 您的评论正在等待审核。

    Thanks a lot! Great information.
    london drugs canada
    aarp approved canadian online pharmacies – https://www.canadianonlinepharmacytrust.com/

    prescription drug price comparison el 83f38a5

  11. RonaldSkync 您的评论正在等待审核。
  12. 금산출장안마

    I’m not that much of a internet reader to be honest but
    your sites really nice, keep it up! I’ll go ahead and bookmark your
    site to come back later. All the best

  13. Robertadure 您的评论正在等待审核。

    Incredible many of helpful info.
    canadian viagra
    online pharmacies of canada – https://canadianpharmaciescubarx.com/

    online canadian discount pharmacy vof eddd14f

  14. EdwardNeept 您的评论正在等待审核。

    You actually stated that perfectly!
    canadianpharmacy
    canada pharma limited llc – http://canadianpharmaceuticalsonlinerx.com/

    prescription cost comparison Ol 83f38a5

  15. RonaldSkync 您的评论正在等待审核。

    With thanks! A lot of info!

    online pharmacies
    drug costs – https://canadianpharmaciescubarx.com/

    canada drugs Jews 3de83f3

  16. 창원출장만남

    Thanks for finally writing about >解决使用LNMP环境包下wordpress主题显示不全 – Matt的学习空间 <Loved it!

  17. 연천콜걸

    Highly descriptive article, I liked that bit.
    Will there be a part 2?

  18. Robertadure 您的评论正在等待审核。

    You actually said that well.
    trust pharmacy canada
    legitimate online pharmacies – http://canadianpharmacyntv.com/

    drug prices comparison Fes 857b414

  19. minecraft games

    Hi there friends, how is all, and what you would like to
    say concerning this piece of writing, in my view its actually awesome
    in favor of me.

  20. EdwardNeept 您的评论正在等待审核。

    Amazing plenty of awesome info!
    cvs pharmacy online
    canadian online pharmacy – https://canadianpharmaciescubarx.com/

    canadapharmacyonline com eraW b4149ac

  21. RonaldSkync 您的评论正在等待审核。

    You actually said that really well!
    canadian pharmacy online
    canada pharma limited – http://canadianpharmacyntv.com/

    canada prescription drugs kn 8a53857

  22. 진해콜걸

    It’s going to be ending of mine day, but before ending I am reading this
    enormous piece of writing to improve my know-how.

  23. Robertadure 您的评论正在等待审核。
  24. EdwardNeept 您的评论正在等待审核。
  25. RonaldSkync 您的评论正在等待审核。

    Fantastic information. Regards.
    canadian pharmacies
    canadian drug stores online – https://canadianpharmaciescubarx.com/

    northwestpharmacy St 4f4b22_

  26. Robertadure 您的评论正在等待审核。

    Thanks. Lots of stuff.

    london drugs canada
    canadian pharmacies online prescriptions – https://canadianpharmaciescubarx.com/

    canadian discount pharmacy nip 38a5385

  27. EdwardNeept 您的评论正在等待审核。

    You actually stated it very well.
    health canada drug database
    canada pharmacy online reviews – https://www.canadianonlinepharmacytrust.com/

    mail order pharmacies Tem a53857b

  28. RonaldSkync 您的评论正在等待审核。

    Great postings. Many thanks!
    canadian pharmacy
    buy online prescription drugs – http://canadianpharmaceuticalsonlinerx.com/

    canada pharma limited llc dunc 22_83c6

  29. 부산출장안마

    I was more than happy to find this great site. I want to to thank you for your time
    due to this wonderful read!! I definitely savored every part of it and i also have you saved as a favorite to look at new
    information in your blog.

  30. 안전놀이터

    Hello, i read your blog from time to time and i own a similar one and i was just wondering if you get
    a lot of spam feedback? If so how do you protect against it, any plugin or anything you
    can recommend? I get so much lately it’s driving me mad so
    any assistance is very much appreciated.