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

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

解决办法如下:

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

lnmp restart

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

分享到:

161,961 条评论

昵称
  1. w88

    Link exchange is nothing else however it is only placing
    the other person’s website link on your page at appropriate place and other person will also do
    same for you.

  2. cialis generic

    Hey there, You have done a fantastic job. I will definitely digg
    it and personally suggest to my friends. I am sure they’ll be benefited from this website.

  3. Cigars

    I wanted to thank you for this fantastic read!! I
    definitely enjoyed every little bit of it. I’ve got you saved as a favorite to look at new things you post…

  4. Hey! Do you use Twitter? I’d like to follow you if that would be okay.

    I’m undoubtedly enjoying your blog and look forward to new updates.

  5. נערות ליווי

    cheers a whole lot this excellent website can be professional as well as simple

  6. tactical asset allocation

    I feel this is among the such a lot important information for me.
    And i’m satisfied studying your article. However should commentary on some general things, The website taste is ideal,
    the articles is really excellent : D. Excellent job, cheers

  7. What’s up, this weekend is pleasant in favor of me, for the reason that this
    moment i am reading this fantastic informative post here at
    my home.

  8. I couldn’t resist commenting. Well written!

  9. blue clean ar383

    Hello, I think your site might be having browser compatibility issues.
    When I look at your website in Safari, it looks fine but when opening in Internet Explorer, it has some overlapping.
    I just wanted to give you a quick heads up! Other then that, great blog!

  10. aff login

    With havin so much content do you ever run into any
    problems of plagorism or copyright violation? My site has a lot of unique content I’ve either authored myself
    or outsourced but it appears a lot of it is popping
    it up all over the internet without my agreement. Do you know
    any techniques to help reduce content from being ripped off?
    I’d really appreciate it.

  11. condo manila

    Hi there I am so grateful I found your website,
    I really found you by error, while I was searching on Google for something else, Nonetheless
    I am here now and would just like to say thank you for
    a tremendous post and a all round exciting blog (I also love the theme/design),
    I don’t have time to read through it all
    at the minute but I have book-marked it and also included
    your RSS feeds, so when I have time I will be back to read much more, Please do keep up the awesome b.

  12. Good post however , I was wondering if you could
    write a litte more on this topic? I’d be very grateful if you could
    elaborate a little bit more. Thanks!

  13. landata.ru

    OMG MY COUSIN GOT PICKED! ! Im jealous 🙁

  14. site,

    If some one desires to be updated with most recent
    technologies afterward he must be pay a quick visit
    this web site and be up to date everyday.

  15. E-Journal.Unipma.Ac.Id

    Cloud hosting is something that is certainly being
    desired by the majority of the mid level site owners.
    That includes both the good and bad when it comes
    to with all the interface, cpanel and features available.
    Maintenance and progression of highly efficient and effective technical
    skills that have to provide in developing effective web applications.

  16. finance

    of course like your website but you need to take
    a look at the spelling on several of your posts. Many of them are rife with spelling
    issues and I in finding it very troublesome to tell the truth however I’ll definitely come again again.

  17. cialis tadalafil

    I enjoy reading a post that can make people think. Also, many thanks for allowing me to comment!

  18. casino online

    What’s up Dear, are you genuinely visiting this web site daily, if so afterward you will
    without doubt obtain pleasant knowledge.

  19. Unibet no deposit bonus

    My relatives every time say that I am killing my time
    here at net, except I know I am getting experience all
    the time by reading such fastidious articles.

  20. This allows readers to see what the main topics of the website are, increasing the usability of your blog.

  21. KAT

    Wonderful beat ! I wish to apprentice while you amend your
    website, how could i subscribe for a blog site? The account aided me a acceptable
    deal. I had been tiny bit acquainted of this your broadcast provided bright clear concept

  22. Mamie

    Hello, There’s no doubt that your blog may be having browser compatibility problems.
    When I take a look at your web site in Safari, it looks
    fine however, when opening in I.E., it’s got some
    overlapping issues. I just wanted to give you a quick heads up!

    Apart from that, great blog!

  23. class action lawsuit

    What’s up i am kavin, its my first occasion to
    commenting anyplace, when i read this article i thought i could also make comment due to this brilliant piece of writing.

  24. sgslot77

    hay mari kita coba bermain di sgslot77

  25. Irvin

    I’m gone to tell my little brother, that he should also go to see this weblog on regular basis to obtain updated from most recent
    news update.

  26. 선릉수요비

    I’ve been exploring for a bit for any high quality articles or weblog posts on this
    sort of area . Exploring in Yahoo I at last stumbled upon this web site.
    Studying this info So i’m glad to exhibit that I’ve an incredibly just
    right uncanny feeling I found out just what I needed.
    I so much without a doubt will make certain to do not overlook this web site and give it a glance regularly.

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

    Hurrah! At last I got a website from where I be able to really get valuable information regarding
    my study and knowledge.

  28. 무료 드라마

    Good post. I learn something new and challenging
    on sites I stumbleupon every day. It’s always useful to read through articles from
    other authors and practice something from other
    sites.

  29. Home printing

    This paragraph will help the internet visitors for creating new webpage
    or even a weblog from start to end.

  30. poker domino 99

    always i used to read smaller posts which also
    clear their motive, and that is also happening with this paragraph which I am reading now.