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

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

解决办法如下:

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

lnmp restart

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

分享到:

125,931 条评论

昵称
  1. 카지노 사이트

    Heya i’m for the primary time here. I came across this board and I to find It
    really useful & it helped me out a lot. I’m hoping to present something back and help others like you helped me.

  2. commet

    It’s the best time to make some plans for the future and it’s time to
    be happy. I have read this post and if I could I
    want to suggest you few interesting things or suggestions.
    Maybe you can write next articles referring to this article.

    I wish to read more things about it!

  3. 예스 카지노

    I blog often and I really appreciate your information. Your article
    has truly peaked my interest. I am going to bookmark your website and keep checking for
    new information about once a week. I subscribed to your Feed too.

  4. 바카라 사이트

    I just like the valuable information you provide for your articles.
    I will bookmark your weblog and test again right here regularly.
    I am somewhat certain I will be told a lot of new stuff proper here!

    Good luck for the next!

  5. 바카라 사이트

    I’m gone to say to my little brother, that he should also visit this web site on regular basis
    to obtain updated from most recent information.

  6. 예스 카지노

    Do you have a spam issue on this site; I also am a
    blogger, and I was wondering your situation; we have
    developed some nice practices and we are looking to swap techniques with other
    folks, be sure to shoot me an e-mail if interested.

  7. 예스 카지노

    Asking questions are truly pleasant thing if you
    are not understanding anything fully, except this paragraph provides
    nice understanding yet.

  8. 바카라 사이트

    It’s a pity you don’t have a donate button! I’d most certainly donate to this superb blog!
    I suppose for now i’ll settle for bookmarking
    and adding your RSS feed to my Google account. I look forward to new updates and will talk about this blog
    with my Facebook group. Chat soon!

  9. www.forever-1978.com

    I don’t even know how I ended up here, but I thought this post was good.
    I do not know who you are but definitely you’re going to a famous blogger
    if you are not already 😉 Cheers!

  10. Woah! I’m really enjoying the template/theme of this
    website. It’s simple, yet effective. A lot of times it’s very difficult to get that “perfect balance” between user friendliness
    and visual appeal. I must say you have done a very good job
    with this. In addition, the blog loads extremely fast for me on Firefox.
    Superb Blog!

  11. 바카라

    Very nice article, just what I wanted to find.

  12. 카지노 사이트

    In fact no matter if someone doesn’t understand afterward its
    up to other visitors that they will assist, so here it happens.

  13. 카지노

    Hello, I want to subscribe for this website to obtain hottest updates, so
    where can i do it please help out.

  14. 카지노

    When some one searches for his essential thing, thus he/she desires to be available that in detail, so that thing is maintained over here.

  15. 카지노 사이트

    I was suggested this blog by my cousin. I am not sure
    whether this post is written by him as no one else know
    such detailed about my problem. You are wonderful! Thanks!

  16. 온라인 바카라

    Having read this I believed it was very informative.
    I appreciate you spending some time and
    effort to put this information together. I once again find myself personally spending a lot
    of time both reading and commenting. But so what, it was still
    worthwhile!

  17. 카지노

    Good day I am so excited I found your blog page, I really found
    you by error, while I was researching on Google for something else, Anyways I am here now and would just like to say cheers for a marvelous post and
    a all round thrilling blog (I also love the theme/design), I don’t have time
    to read through it all at the moment but I have book-marked it and also added your
    RSS feeds, so when I have time I will be back to read a
    great deal more, Please do keep up the fantastic job.

  18. printing service

    I read this article fully regarding the resemblance of latest and previous technologies, it’s remarkable article.

  19. 바카라

    I have been exploring for a bit for any high-quality articles
    or blog posts in this kind of house . Exploring
    in Yahoo I at last stumbled upon this site. Reading this information So i am satisfied
    to express that I’ve an incredibly excellent uncanny feeling I discovered just what I needed.
    I so much indisputably will make sure to do not put out of your mind this website and give it
    a look regularly.

  20. 온라인 바카라

    Thanks for every other excellent post. Where else may anybody get that kind of info
    in such an ideal manner of writing? I have a
    presentation next week, and I’m at the search for such information.

  21. Kyle Brough

    Visiting Stress filled? It Doesn’t Must Be! Well before leaving behind, travelling is just like proceeding away from home for any wonderful venture.These guidelines should be listed that you just examine once or twice. Don’t use open public computer systems inside your hotel or elsewhere they offer cost-free online when you are on vacation. There may be malware on the computer that could sign your information When checking out international countries, be cautious when utilizing taxi cabs. You should make an effort to ensure you are employing a real taxi service. In the event you visit an theme park or some other distinct attraction, find out if on the web passes are offered, look for strategies to ask them to in advance. The tiny charge per admission just for this services is worth it considering the facial lines that you could steer clear of. You may normally avoid these, sometimes, when the playground relies on a timed entrance process. Before you decide to book, perform your due diligence. Get online reviews concerning the spots you plan to travel. Well before, check with those who have been there. This gives you to foresee anything that you will encounter. When traveling using a modest little one, be sure to take points to keep them entertained along the way. Consider take some of their beloved games. You may also look at getting a number of new toys and games to get his interest. When driving a car or taking a plane with a toddler, you need to take along things which could keep him intrigued and satisfied throughout the journey. Provide games to avoid pressure and games you are aware the child really likes. You may look at buying a couple of new toys and games for your vacation since this will offer you him sufficient distraction to maintain him busy. If your air travel that had been charged in your bank card, you might be taken care of. You must analysis just before making. In case you have a long trip on the aeroplane, try packaging your very own no-liquefied snack food items. You not be a number of about weather adjustments. A raincoat also can serve as a windbreaker as soon as the weather conditions are frosty, any rainwater that comes up and also possibly being a bathrobe! It will certainly be evident that touring requires greater than only getting on an aircraft and soaring to another place. Organizing is definitely the largest part of all of your traveling practical experience. With the aid of these tips, planning might be a wind!

  22. 바카라 사이트

    Hmm it looks like your website ate my first comment (it was super long) so I guess I’ll just sum it
    up what I submitted and say, I’m thoroughly enjoying your blog.

    I as well am an aspiring blog writer but I’m still new to everything.
    Do you have any recommendations for inexperienced blog writers?
    I’d certainly appreciate it.

  23. www.gospelhitz.com

    Simply wish to say your article is as amazing. The clarity in your post is just excellent and i could assume
    you’re an expert on this subject. Well with your permission let me to grab your RSS feed to keep
    up to date with forthcoming post. Thanks a million and
    please carry on the enjoyable work.

  24. Great website. Plenty of useful information here.

    I am sending it to some buddies ans additionally sharing in delicious.
    And certainly, thanks in your effort!

  25. 예스 카지노

    This excellent website certainly has all the info I needed
    concerning this subject and didn’t know who to ask.

  26. www.3rdeyefocused.com

    Hi, I do think this is a great site. I stumbledupon it 😉 I’m going to return once again since i have bookmarked it.
    Money and freedom is the best way to change, may you be rich and continue to help other
    people.

  27. poker online

    Amazing! This blog looks exactly like my old one!
    It’s on a completely different subject but it has pretty much the same layout and
    design. Great choice of colors!

  28. sieu am tim

    Wow, incredible blog format! How long have you been running a blog for?
    you make blogging look easy. The total glance of your website is great, as smartly as the content
    material!

  29. video porno free

    Just wish to say your article is as astonishing. The clarity in your post is simply spectacular and i can assume you’re an expert on this subject.
    Fine with your permission allow me to grab your feed to keep updated with forthcoming post.
    Thanks a million and please carry on the enjoyable work.

  30. www.tis-company.com

    I all the time used to study piece of writing in news papers but now as I am
    a user of web therefore from now I am using net for posts, thanks to web.