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

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

解决办法如下:

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

lnmp restart

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

分享到:

125,969 条评论

昵称
  1. What’s up to all, because I am truly keen of reading this webpage’s post to be updated regularly.

    It includes nice information.

  2. buy cialis

    I am in fact pleased to read this website posts which contains plenty of helpful data, thanks for providing such data.

  3. Hello! I know this is kind of off topic but I was wondering which blog
    platform are you using for this site? I’m getting fed up of WordPress
    because I’ve had issues with hackers and I’m looking at options for another platform.
    I would be fantastic if you could point me in the
    direction of a good platform.

  4. Sidnee

    Thanks! And thanks for sharing your great posts every week!

  5. By interspersing photographs, diagrams and other graphics into your blog, you are actually perfecting the overall image of the page.

  6. Magda

    Hey I know this is off topic but I was wondering if you knew
    of any widgets I could add to my blog that automatically tweet my newest twitter
    updates. I’ve been looking for a plug-in like this for quite some time and was hoping maybe you would have some experience with something like
    this. Please let me know if you run into anything.
    I truly enjoy reading your blog and I look forward to your new updates.

  7. Veronique

    I got this web site from my friend who shared with me concerning
    this website and now this time I am visiting this web page and reading very informative articles or reviews at this place.

  8. What’s up, always i used to check webpage posts here early in the morning,
    for the reason that i like to find out more and more.

  9. What’s up to all, because I am in fact keen of reading this website’s post to be updated on a regular basis.
    It carries nice information.

  10. It is really a great and useful piece of info. I am satisfied that you shared this helpful information with us. Please stay us up to date like this. Thanks for sharing.

  11. Sonia Randhawa

    Every after inside a whilst we pick blogs that we study. Listed below would be the latest web-sites that we choose

  12. Hmm is anyone else encountering problems with the pictures
    on this blog loading? I’m trying to determine if its a problem on my end or if it’s the
    blog. Any suggestions would be greatly appreciated.

  13. I am regular visitor, how are you everybody? This paragraph posted at
    this site is in fact pleasant.

  14. dewi365

    Hi! I could have sworn I’ve been to this site before but after
    checking through some of the post I realized it’s new to me.

    Anyhow, I’m definitely delighted I found it and I’ll be bookmarking and
    checking back frequently!

  15. Marcela

    Hi to every one, the contents existing at this web page are genuinely remarkable for
    people knowledge, well, keep up the good work fellows.

  16. 匿名

    Hey there! I know this is kinda off topic nevertheless I’d figured I’d ask.
    Would you be interested in trading links or maybe
    guest writing a blog article or vice-versa?
    My site covers a lot of the same subjects as yours and I
    feel 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! Awesome blog
    by the way!

  17. If your teammate has it, let them have some space.

  18. Isabell

    This information is invaluable. When can I find out more?

  19. Thanks for finally talking about > 解决使用LNMP环境包下wordpress主题显示不全 – Matt的学习空间 < Loved it!

  20. Hi are using WordPress for your blog platform? I’m new to the blog world but I’m trying to get started and set up my own. Do you need
    any coding knowledge to make your own blog? Any help
    would be greatly appreciated!

  21. Hi, I do believe this is a great website. I stumbledupon iit 😉 I am gooing to return yet again since i have bookmarked it.
    Money and freedom is the greatest way to change, may youu be rih and continue to help other people.

  22. I’m impressed, I must say. Seldom do I encounter a blog that’s both educative and interesting,
    and without a doubt, you have hit the nail on the head.
    The problem is something that not enough men and women are speaking
    intelligently about. I’m very happy I found
    this in my search for something relating to this.

  23. Kiera

    I’m not that much of a online reader to be honest but your
    blogs really nice, keep it up! I’ll go ahead and
    bookmark your website to come back down the road. Cheers

  24. An easy way to come up with new blog content when you are having writer’s block is to look back through old posts.

  25. Hi, I believe your website could be having browser compatibility problems.
    Whenever I look at your site in Safari, it looks fine but
    when opening in Internet Explorer, it has some overlapping issues.
    I merely wanted to give you a quick heads up! Aside from that, great site!

  26. Lionel

    Here are several decorating suggestions to bring autumn into your home today.
    If you are thinking about adding insulation for your room, either
    of the are the ideal choice. There a variety of explanations why more people are inclined to build small houses.

  27. Pearline

    I am regular visitor, how are you everybody? This article posted
    at this web site is truly nice.

  28. Fae

    Hi there, You’ve done a great job. I will certainly digg it and personally suggest to my friends.
    I’m confident they’ll be benefited from this site.

  29. Hey there! Do you use Twitter? I’d like to follow you if that would be ok.
    I’m undoubtedly enjoying your blog and look forward to new updates.

  30. hi!,I really like your writing so much! share we be in contact extra approximately your article on AOL?
    I need a specialist on this area to solve my problem.
    May be that’s you! Having a look forward to see you.