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

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

解决办法如下:

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

lnmp restart

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

分享到:

161,967 条评论

昵称
  1. web site

    Gruppe sechs people:Guard:gruppe sechs people: *punches guard*

  2. nsuea.org

    Hello to all, it’s genuinely a good for me
    to pay a visit this website, it includes important Information.

  3. pokerbulls

    Thanks for every other great article. The place else may
    just anyone get that kind of info in such an ideal
    means of writing? I’ve a presentation subsequent week, and I am at the search for such info.

  4. Aber letztens wollte ich 1000 bei Wunderino auszahlen wurde
    Knall hart verweigert

  5. There is certainly a lot to know about this topic.

    I like all of the points you’ve made.

  6. Hi there to every body, it’s my first go to see
    of this web site; this weblog contains amazing and
    really fine information in favor of visitors.

  7. pokerbulls

    What a stuff of un-ambiguity and preserveness of valuable experience on the
    topic of unexpected feelings.

  8. My coder is trying to persuade me to move to .net from
    PHP. I have always disliked the idea because of the expenses.
    But he’s tryiong none the less. I’ve been using WordPress on numerous websites
    for about a year and am anxious about switching to another platform.
    I have heard very good things about blogengine.net.
    Is there a way I can import all my wordpress content into it?
    Any kind of help would be really appreciated!

  9. lo de online mb

    It’s the best time to make a few plans for
    the longer term and it’s time to be happy. I
    have read this put up and if I may just I wish to counsel you some attention-grabbing
    things or tips. Maybe you could write subsequent articles referring to this
    article. I wish to learn more things about it!

  10. This is very interesting, You are a very skilled blogger.
    I’ve joined your feed and look forward to seeking more of
    your magnificent post. Also, I’ve shared your web site in my social networks!

  11. Carmelo

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

  12. Thanks for the marvelous posting! I truly enjoyed reading it, you could be a
    great author. I will remember to bookmark your blog and definitely will come back later on.
    I want to encourage you to ultimately continue your great job,
    have a nice evening!

  13. Hey! I know this is kinda off topic but I’d figured I’d ask.

    Would you be interested in trading links or maybe
    guest authoring a blog article or vice-versa? My website covers 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!

  14. 19 영화

    I have read so many posts on the topic of the blogger lovers
    however this piece of writing is actually a good article,
    keep it up.

  15. Excellent web site yoᥙ havе got һere.. It’s һard to findd hіgh quality
    writing ⅼike yourѕ nowadays. I trսly appreciate individuals lіke you!
    Tɑke care!!

  16. Payroll Tax

    Pretty section of content. I just stumbled upon your web site and in accession capital to assert that I acquire actually loved account your
    blog posts. Any way I will be subscribing for your augment or even I success you get admission to consistently fast.

  17. Hurtigt lån

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

  18. This site was… how do I say it? Relevant!!
    Finally I’ve found something that helped me.
    Thank you!

  19. click here

    Link exchange is nothing else except it is just placing the other person’s weblog link on your page at suitable
    place and other person will also do similar in support
    of you.

  20. Heya i’m for the first time here. I came across this board
    and I find It really useful & it helped me out much. I hope
    to give something back and help others like you helped me.

  21. I got this web site from my pal who shared with me on the topic of this web site and at the
    moment this time I am browsing this site and reading very informative posts here.

  22. 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. Cheers

  23. Informative article, exactly what I wanted to find.

  24. Janette

    It is truly a great and useful piece of information.
    I am glad that you simply shared this useful info with us.

    Please keep us informed like this. Thank you for sharing.

  25. Terrific article! That is the kind of information that are supposed
    to be shared across the web. Disgrace on Google for now not
    positioning this put up higher! Come on over and talk over
    with my site . Thank you =)

  26. Terrific work! This is the kind of information that are
    meant to be shared around the internet. Shame on Google for not positioning this publish higher!
    Come on over and visit my website . Thanks =)

  27. Joycelyn

    Water can be purified somehow so pack some purification tablets, bleach, along with a bandana to strain the
    water. We aren’t talking about nuclear war or something
    that is, but more common disasters like flooding or
    hurricanes. It is the most popular cancer in Canadian men which has a
    one in 7 probability of developing the disease, as well as
    the statistics resemble for American men.

  28. Because the admin of this web site is working, no uncertainty very soon it will be famous, due to its feature contents.

  29. Poker99

    I’ve learn several just right stuff here. Certainly price
    bookmarking for revisiting. I wonder how a lot attempt you set to create any such magnificent informative site.

  30. Requirements For Getting Into The Job – What is ideal about every
    online job is that gardeners can qualify to try to get one even if you’re still as student.
    The agency will connect you to definitely the families and parents seeking babysitters.
    Encourage them to put a specific percentage of their earnings in the account
    every week, rather than to blow each of their cash gratuitous gadgets and clothes.