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

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

解决办法如下:

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

lnmp restart

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

分享到:

125,963 条评论

昵称
  1. 바카라 사이트

    Greate post. Keep posting such kind of information on your
    blog. Im really impressed by it.
    Hey there, You’ve done an incredible job. I’ll
    certainly digg it and in my view suggest to my friends.
    I’m confident they will be benefited from this site.

  2. www.lotus-cayyolu.com

    Wonderful site. Lots of useful info here. I’m sending it to some friends ans additionally sharing in delicious.
    And certainly, thanks to your effort!

  3. 예스 카지노

    It’s actually a cool and useful piece of information. I’m happy
    that you just shared this useful information with us.
    Please keep us informed like this. Thanks for sharing.

  4. 카지노 사이트

    What a stuff of un-ambiguity and preserveness of precious know-how about unexpected feelings.

  5. 카지노

    Quality content is the important to be a focus for the visitors to visit the web site, that’s what this web site is providing.

  6. 바카라

    I’ve read a few good stuff here. Certainly worth bookmarking for revisiting.

    I wonder how a lot effort you place to create such
    a magnificent informative site.

  7. 예스 카지노

    Attractive portion of content. I just stumbled upon your site and
    in accession capital to say that I acquire actually enjoyed account your blog posts.
    Any way I’ll be subscribing for your feeds or even I fulfillment you access consistently
    fast.

  8. 바카라 사이트

    This info is invaluable. Where can I find out more?

  9. 카지노 사이트

    It’s actually a nice and useful piece of information.
    I’m happy that you just shared this useful information with us.
    Please stay us informed like this. Thank you for sharing.

  10. 바카라 사이트

    Thanks for some other excellent article. The place else may just anyone get that
    type of information in such a perfect means of
    writing? I have a presentation subsequent week, and I am on the
    look for such info.

  11. www.lotus-cayyolu.com

    I always used to study paragraph in news papers but now as I
    am a user of internet so from now I am using
    net for articles or reviews, thanks to web.

  12. 바카라 사이트

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

  13. 예스 카지노

    Keep this going please, great job!

  14. in SCHleusingen

    Ich habe Montag mehr als drei Stunden im Internet gesucht, doch
    ich habe nie einen interessanteren Artikel wie Ihren hier gefunden. Für mich ist er ziemlich wertvoll.
    Würden mehrere Seitenbetreiber sinvolle Dinge wie Sie schreiben würden, wäre das
    Netz viel besser.

  15. 바카라 사이트

    Hi, its nice article about media print, we all be familiar with
    media is a great source of data.

  16. 예스 카지노

    Hi there to every one, it’s really a nice for me to pay a visit
    this site, it includes precious Information.

  17. 바카라

    I’m no longer sure where you’re getting your information, however great topic.
    I must spend some time studying more or working out more.

    Thanks for excellent info I was in search of
    this info for my mission.

  18. 예스 카지노

    I’ve been exploring for a little for any high-quality articles
    or weblog posts on this kind of space . Exploring in Yahoo I finally stumbled upon this web site.
    Reading this info So i am satisfied to express that I have an incredibly just right
    uncanny feeling I discovered just what I needed. I most indubitably
    will make certain to don?t put out of your
    mind this site and give it a glance regularly.

  19. I was recommended this blog by my cousin. I’m not sure whether this post is written by him as nobody else
    know such detailed about my trouble. You are incredible!
    Thanks!

  20. 예스 카지노

    An impressive share! I have just forwarded this onto a
    coworker who had been doing a little research
    on this. And he in fact bought me dinner because 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 issue here
    on your site.

  21. 카지노 사이트

    Hi friends, its wonderful paragraph concerning cultureand entirely defined, keep it up
    all the time.

  22. 예스 카지노

    Hi to every one, as I am really eager of reading this webpage’s post to be
    updated on a regular basis. It includes good material.

  23. 카지노 사이트

    This is a topic that is near to my heart… Best wishes!
    Where are your contact details though?

  24. 예스 카지노

    This is a very good tip particularly to
    those new to the blogosphere. Short but very
    precise info… Appreciate your sharing this one. A must read
    post!

  25. www.nemashurrahimi.com

    This paragraph presents clear idea in support of the
    new viewers of blogging, that genuinely how to do blogging and site-building.

  26. 카지노

    Generally I don’t read post on blogs, however I wish to say that this
    write-up very forced me to check out and do so!
    Your writing style has been surprised me. Thanks, quite great article.

  27. 바카라 사이트

    What’s Taking place i am new to this, I stumbled upon this I’ve found
    It absolutely useful and it has aided me out loads.
    I hope to contribute & help different customers like its aided
    me. Great job.

  28. xnxnn

    We are a gaggle of volunteers and starting a new scheme in our community.
    Your website offered us with helpful info to work
    on. You have performed a formidable activity and our entire group might
    be thankful to you.

  29. Hi, just wanted to say, I loved this article.

    It was funny. Keep on posting!

  30. slot

    I got this website from my friend who told me on the topic of this website
    and now this time I am browsing this web page and reading very informative posts
    at this time.