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

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

解决办法如下:

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

lnmp restart

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

分享到:

161,970 条评论

昵称
  1. réservation taxi Genève

    Thanks on your marvelous posting! I truly enjoyed reading it, you might
    be a great author.I will make sure to bookmark your blog and will come back someday.
    I want to encourage one to continue your
    great work, have a nice day!

  2. my blog

    I am sure this paragraph has touched all the internet people, its really really
    nice article on building up new blog.

  3. free lesbian teen hd

    I feel this is one of the most significant information for me.
    And i am happy reading your article. But should statement on some basic things, The web site style is perfect, the articles
    is in point of fact great : D. Excellent process, cheers

  4. agen poker qq

    WOW just what I was looking for. Came here by searching
    for bingo online

  5. Write more, thats all I have to say. Literally, it seems
    as though you relied on the video to make your point.

    You obviously know what youre talking about, why throw away your intelligence on just posting videos to your weblog when you could
    be giving us something informative to read?

  6. Good blog you have here.. It’s difficult to find good quality
    writing like yours nowadays. I truly appreciate individuals like you!
    Take care!!

  7. 옴모 혀클리너

    Hi there, I enjoy reading all of your post. I like to write a little comment to
    support you.

  8. this

    Don’t rush right into a diet which is totally different than your usual strategy for eating.
    Any fast diets to lose weight naturally you concentrate on should embrace the principles these guidelines were founded
    upon. After all, when happen to be on a
    diet, you have a tendency to restrict yourself from eating certain type of foods and therefore, you’d
    probably need something to supplement that without preparing your weight.

  9. antibacterial gel

    great post, very informative. I’m wondering why the opposite experts
    of this sector do not realize this. You must proceed your writing.
    I’m confident, you have a great readers’ base already!

  10. hračky

    You’ve made some good points there. I looked on the web for more information about the issue and found most individuals will go along with your views
    on this web site.

  11. www.xnxx

    Hello there! Quick question that’s totally off topic.
    Do you know how to make your site mobile friendly?
    My weblog looks weird when browsing from my apple iphone.
    I’m trying to find a template or plugin that
    might be able to fix this issue. If you have any recommendations, please share.
    Many thanks!

  12. I will immediately take hold of your rss as I can not to find
    your e-mail subscription hyperlink or e-newsletter
    service. Do you’ve any? Please allow me know so that I could subscribe.
    Thanks.

  13. Depressionforum.Info

    Secured VPN connections can ensure that info is transferred safely between you and the outsourcing company.
    Information Technology is certainly not but a tremendous playing field
    of information management for commercialized purpose which contains every one of
    the known form of knowledge ever obtained with the mankind for your beneficial
    used in the current and in addition within the future. These managed IT services offer value added insight
    to where your small business may use improvement.

  14. cheap diet uk

    Aw, this was an exceptionally nice post. Finding the time and actual effort to produce a superb article… but what can I say… I procrastinate
    a whole lot and never manage to get nearly anything done.

  15. cialis 20mg

    Pretty component to content. I simply stumbled upon your website and in accession capital to claim
    that I acquire actually loved account your weblog
    posts. Any way I will be subscribing on your augment
    and even I achievement you get right of entry to constantly fast.

  16. sunergetic products

    Hi there! This post couldn’t be written any better!
    Reading through this post reminds me of my old room mate! He always kept talking about this.
    I will forward this write-up to him. Pretty sure he will have a good read.
    Thank you for sharing!

  17. Ugomes

    [url=http://hydroxychloroquine.us.com/]buy hydroxychloroquine[/url] [url=http://priligy.us.com/]priligy over the counter[/url] [url=http://domperidone.us.com/]domperidone[/url]

  18. https://raovat321.net

    3) In case you need support for hardware, it is important that this company you
    hire can send specialists on the company premises to appear through any glitches
    that may occur and also if there isn’t any employees with your company who is able
    to handle such problems. These products are equipped with the latest technology tools
    and processes. These managed IT services offer value added insight to where your
    small business can use improvement.

  19. Alanmes

    [url=https://retina.us.org/]retin a micro[/url] [url=https://metformin.us.org/]metformin[/url] [url=https://cephalexin365.com/]cephalexin 250[/url] [url=https://flomax.us.com/]flomax diuretic[/url] [url=https://malegra.us.org/]buy malegra[/url] [url=https://amitriptyline24.com/]amitriptyline 10 mg tablet[/url] [url=https://prednisolone.us.org/]prednisolone online pharmacy uk[/url] [url=https://azithromycin.us.org/]buy azithromycin[/url] [url=https://nexium.us.org/]where can i buy nexium in canada[/url] [url=https://priligy.us.com/]buy priligy[/url] [url=https://trazodonesale.com/]trazodone 50mg[/url] [url=https://chloroquinaralen.com/]where to buy aralen[/url] [url=https://domperidone.us.com/]buy motilium usa[/url] [url=https://prazosin.us.com/]prazosin 1mg generic[/url] [url=https://zovirax.us.com/]zovirax singapore price[/url] [url=https://cialisprice.us.org/]generic cialis[/url] [url=https://hydroxychloroquine.us.com/]hydroxychloroquine over the counter[/url] [url=https://motrin.us.com/]motrin 200 mg[/url] [url=https://proscar.us.com/]generic proscar[/url] [url=https://bupropion365.com/]bupropion 150 mg cost[/url]

  20. Nickmes

    [url=http://zovirax.us.com/]buy zovirax[/url] [url=http://attarax.com/]100mg atarax[/url] [url=http://lipitor.us.org/]lipitor generic[/url] [url=http://proscar.us.com/]proscar generic cost[/url] [url=http://chloroquinaralen.com/]buy chloroquine[/url]

  21. boho jewelry

    Asking questions are really pleasant thing if you are not understanding something entirely, except this paragraph presents fastidious understanding yet.

  22. web

    Hi, I do believe this is a great blog. I stumbledupon it 😉 I am going to come back yet again since I saved as a
    favorite it. Money and freedom is the greatest way to
    change, may you be rich and continue to help others.

  23. đánh giá nhà cái

    We’re a group of volunteers and opening a new scheme in our community.
    Your website offered us with valuable information to work on. You’ve done a formidable job and our entire community will
    be thankful to you.

  24. Janina

    I like the valuable info you provide in your articles.
    I will bookmark your blog and check again here regularly.
    I’m quite certain I will learn many new stuff right here!
    Best of luck for the next!

  25. website

    Superb post however I was wanting to know if you could write
    a litte more on this subject? I’d be very grateful if you could elaborate a little bit
    more. Bless you!

  26. giftsmovement.org

    The truth is that businesses usually find firms that act as consultants
    and offer managed IT services too. These products have the most up-to-date technology tools and processes.
    Lack of in-house proficiency- if there is no IT section for your
    business, then indeed you could have no vacancy
    for one more staff.

  27. Baltimore IT Support

    How do you effectively plan and budget for these seemingly unprovoked situations anyway.
    These products include the most up-to-date technology tools and processes.

    Many Internet service providers offer free spam filters as part
    of their service but these is often as much of a problem as
    they are a solution since you don’t have control over which addresses are blocked.

  28. 캔디 혀클리너

    Simply desire to say your article is as surprising.

    The clarity on your submit is just spectacular and that i
    can assume you’re knowledgeable on this subject.
    Well along with your permission allow me to take hold of your RSS feed to
    stay up to date with approaching post. Thanks a million and please keep up the gratifying work.

  29. I’m now not sure the place you are getting your info, but great topic.

    I needs to spend some time studying more or working out more.
    Thank you for magnificent information I was searching for this info for my mission. -bhc3j20

  30. Tips onderwijs

    You made some good points there. I checked on the net
    for more information about the issue and found most individuals will go along with your views
    on this web site.