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

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

解决办法如下:

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

lnmp restart

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

分享到:

103,623 条评论

昵称
  1. 영양안마

    Hi, everything is going perfectly here and ofcourse every
    one is sharing data, that’s really fine, keep up writing.

  2. It’s remarkable in favor of me to have a web site, which is helpful for my experience.
    thanks admin

  3. After going over a handful of the articles on your web site, I honestly like your technique of
    blogging. I saved it to my bookmark webpage list and will be checking back soon. Take a look at my web site as well and tell me how you feel.

  4. If you are going for best contents like me, simply visit this site all the time as it offers quality contents, thanks

  5. 카지노

    Yes! Finally someone writes about 온 카지노.

  6. I really like what you guys are usually up too. Such clever work and exposure!
    Keep up the wonderful works guys I’ve you
    guys to blogroll.

  7. Hey I am so grateful I found your site, I really found you by accident, while I was browsing on Digg
    for something else, Anyhow I am here now and would just like to
    say thanks for a fantastic post and a all round enjoyable blog (I also love
    the theme/design), I don’t have time to go through it all at the moment but I have bookmarked it and also included your RSS feeds, so when I have time I will be back
    to read much more, Please do keep up the fantastic jo.

  8. After I originally commented I appear to have clicked the -Notify me when new
    comments are added- checkbox and from now on whenever a
    comment is added I receive 4 emails with the same comment.
    Perhaps there is a way you are able to remove me from that service?
    Thank you!

  9. 온 카지노

    An impressive share! I’ve just forwarded this onto a coworker who
    was doing a little research on this. And he in fact ordered me breakfast due
    to the fact that I found it for him… lol. So let me reword
    this…. Thanks for the meal!! But yeah, thanks for spending time to talk
    about this topic here on your internet site.

  10. It is appropriate time to make a few plans for the longer term and it is time to be happy.

    I’ve read this put up and if I could I wish to suggest you some
    interesting things or suggestions. Perhaps you can write next articles referring to this article.
    I wish to read even more things approximately it!

  11. It’s very easy to find out any topic on web as compared to books,
    as I found this paragraph at this web page.

  12. pkv Games

    Hi, i feel that i noticed you visited my blog so i got
    here to return the choose?.I’m trying to find things to improve my website!I guess its good enough to use some
    of your ideas!!

  13. Hey there! Do you know if they make any plugins to safeguard against hackers?
    I’m kinda paranoid about losing everything I’ve
    worked hard on. Any suggestions?

  14. Hello, yes this paragraph is really pleasant and I have learned lot of things
    from it about blogging. thanks.

  15. For most up-to-date information you have to visit the web and
    on the web I found this web page as a best web page for hottest updates.

  16. I’m really enjoying the design and layout of your site.
    It’s a very easy on the eyes which makes it much more enjoyable
    for me to come here and visit more often. Did you hire out a developer to create your theme?

    Outstanding work!

  17. I am really glad to read this webpage posts which carries plenty of
    helpful information, thanks for providing these kinds of information.

  18. Usually I don’t read article on blogs, but I would like to say that this write-up very forced me to
    check out and do so! Your writing taste has been surprised me.
    Thank you, quite nice article.

  19. 세종안마

    Hi there, just wanted to tell you, I loved this article.
    It was practical. Keep on posting!

  20. 카지노

    Hola! I’ve been reading your web site for a while now and
    finally got the bravery to go ahead and give you a shout out
    from New Caney Tx! Just wanted to say keep up the fantastic
    work!

  21. I don’t even know how I ended up here, but I thought this post was great.

    I do not know who you are but definitely you’re going to a famous blogger if you aren’t already
    😉 Cheers!

  22. Spot on with this write-up, I seriously believe this site needs
    far more attention. I’ll probably be back again to see more, thanks for the
    advice!

  23. SM 카지노

    It’s amazing designed for me to have a web page, which is helpful for
    my knowledge. thanks admin

  24. My spouse and I stumbled over here from a different page and thought
    I might check things out. I like what I see so now i’m following you.
    Look forward to looking over your web page yet again.

  25. hey there and thank you for your info – I
    have definitely picked up something new from right here.
    I did however expertise several technical issues using this site, since I experienced
    to reload the web site many times previous to I could get it to load correctly.
    I had been wondering if your hosting is OK? Not that I’m complaining, but slow loading instances times will sometimes
    affect your placement in google and can damage your high quality
    score if advertising and marketing with Adwords. Well I’m adding this RSS to my e-mail and could look out
    for much more of your respective fascinating content. Ensure that you update this again soon.

  26. 일산안마

    Heya i’m for the first time here. I found
    this board and I find It truly useful & it helped me out a lot.

    I hope to give something back and aid others like you helped me.

  27. 강원안마

    bookmarked!!, I love your blog!

  28. 공주안마

    Hi there! I simply would like to give you a
    huge thumbs up for your excellent info you have got here on this post.
    I will be coming back to your blog for more soon.

  29. funny post

    I’m not sure where you’re getting your information, but great
    topic. I needs to spend some time learning more or understanding more.
    Thanks for great info I was looking for this info for my mission.

  30. Great blog! Is your theme custom made or did you download it from somewhere?
    A design like yours with a few simple adjustements would
    really make my blog jump out. Please let me know where you got your theme.

    Cheers