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

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

解决办法如下:

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

lnmp restart

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

分享到:

125,973 条评论

昵称
  1. 온라인 바카라

    Wow, this article is good, my sister is analyzing these things, so
    I am going to let know her.

  2. 바카라 사이트

    Great info. Lucky me I came across your site
    by chance (stumbleupon). I’ve saved it for later!

  3. I don’t even know how I finished up here, but I thought this publish was good.
    I don’t recognise who you’re however certainly you’re going to a well-known blogger if you happen to are not already.
    Cheers!

  4. www.donghanhdulich.com

    Thanks , I’ve recently been searching for info about this topic for a long time and yours
    is the greatest I have came upon till now. However, what about the conclusion? Are you positive about the supply?

  5. 카지노 사이트

    No matter if some one searches for his vital thing, therefore he/she desires to be available
    that in detail, thus that thing is maintained over here.

  6. 카지노

    all the time i used to read smaller posts that also clear
    their motive, and that is also happening with this article which I am reading at
    this place.

  7. www.sportslivebd.com

    What’s up to every one, since I am in fact keen of reading this webpage’s
    post to be updated daily. It contains nice data.

  8. 예스 카지노

    Thanks a bunch for sharing this with all folks you actually recognise what you’re talking about!
    Bookmarked. Please additionally consult with my site
    =). We can have a hyperlink alternate agreement among us

  9. 온라인 바카라

    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 website to come back later on.
    Many thanks

  10. nauka jazdy

    Thank you for every other magnificent post. The place
    else could anyone get that kind of info in such a perfect manner of
    writing? I have a presentation next week, and I’m on the look for such information.

  11. essay for me

    Remarkable! Its in fact amazing post, I have got much clear idea on the topic of from this
    piece of writing.

  12. dirty roulette

    Hello just wanted to give you a brief heads up and let you know a few of the images aren’t
    loading properly. I’m not sure why but I think its a linking issue.
    I’ve tried it in two different browsers and both show the same results.

  13. 온라인 바카라

    Hey would you mind letting me know which webhost you’re utilizing?
    I’ve loaded your blog in 3 completely different internet browsers and
    I must say this blog loads a lot faster then most. Can you
    suggest a good web hosting provider at a reasonable price?
    Thanks, I appreciate it!

  14. www.prakritikolkata.com

    Does your site have a contact page? I’m having problems locating it but, I’d like to
    send you an email. I’ve got some ideas for your
    blog you might be interested in hearing. Either way,
    great blog and I look forward to seeing it develop over time.

  15. bandar Bola Online

    What’s up colleagues, nice piece of writing and good arguments commented here, I am genuinely enjoying by these.

  16. 카지노

    Hello to all, it’s in fact a fastidious for me to pay a quick visit this web site, it contains useful Information.

  17. 카지노 사이트

    It is perfect time to make some plans for the future
    and it is time to be happy. I’ve read this post and if I could I desire to suggest you few interesting things or tips.
    Maybe you could write next articles referring to this article.
    I desire to read even more things about it!

  18. 온라인 바카라

    Hello to all, as I am actually eager of reading this weblog’s post to be updated on a regular basis.
    It consists of pleasant information.

  19. 카지노 사이트

    This paragraph will help the internet people for building
    up new weblog or even a weblog from start to end.

  20. 예스 카지노

    Magnificent goods from you, man. I’ve understand your stuff previous to and you’re just extremely
    fantastic. I really like what you’ve acquired here, certainly like what you are stating and the way
    in which you say it. You make it entertaining and you still take care
    of to keep it sensible. I cant wait to read far more from you.
    This is really a terrific site.

  21. shemale live chat

    Hey there! I know this is kind of off topic but I was wondering
    if you knew where I could find a captcha plugin for my comment form?
    I’m using the same blog platform as yours and I’m having problems finding
    one? Thanks a lot!

  22. 바카라

    Excellent blog post. I definitely love this
    website. Keep writing!

  23. 바카라 사이트

    magnificent issues altogether, you just received a emblem new reader.
    What would you suggest in regards to your put
    up that you simply made a few days ago? Any sure?

  24. 온라인 바카라

    Hey! I just wanted to ask if you ever have any trouble with hackers?
    My last blog (wordpress) was hacked and I ended up losing a few months of
    hard work due to no data backup. Do you have any
    methods to prevent hackers?

  25. 예스 카지노

    Excellent article! We will be linking to this particularly great content on our site.
    Keep up the good writing.

  26. 온라인 바카라

    Why visitors still make use of to read news papers when in this technological globe everything is accessible on web?

  27. 카지노 사이트

    I’ll immediately seize your rss feed as I can not find your email subscription hyperlink or e-newsletter service.
    Do you have any? Please permit me recognize in order that I
    may subscribe. Thanks.

  28. www.cashmudra.com

    Excellent, what a blog it is! This website presents helpful
    information to us, keep it up.

  29. www.dubaidesigncircle.com

    I blog often and I really appreciate your information. Your article has truly peaked
    my interest. I am going to book mark your blog and keep checking for new details about once a week.
    I subscribed to your Feed as well.

  30. 예스 카지노

    Hey would you mind letting me know which hosting company you’re using?
    I’ve loaded your blog in 3 completely different web browsers and
    I must say this blog loads a lot quicker then most. Can you recommend a good internet hosting provider at a honest price?

    Cheers, I appreciate it!