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

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

解决办法如下:

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

lnmp restart

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

分享到:

42,907 条评论

昵称
  1. web site

    Fastidious answer back in return of this difficulty with firm arguments
    and telling everything about that.

  2. rolling papers

    fufnao variable wattage vape pen ivhwxk smok uk

  3. Vasa Max

    Thank you for helping out, fantastic info.

  4. Good day I am so glad I found your web site,
    I really found you by error, while I was looking on Askjeeve for something else, Nonetheless I am here now and would just like to say cheers for
    a marvelous post and a all round entertaining blog (I also love the theme/design), I don’t have time to read through it all at
    the minute but I have saved it and also added your RSS feeds, so when I have
    time I will be back to read more, Please do keep up the superb work.

  5. UltraGro CBD Review

    Loving the information on this site, you have done outstanding job on the
    articles.

  6. best design t shirt

    Its like you learn my mind! You appear to know a lot approximately this, like you wrote the e book in it or something.
    I believe that you just could do with some percent to pressure
    the message house a bit, however instead of that, this is fantastic
    blog. A fantastic read. I will certainly be back.

  7. naked girl video

    But anyway, my main point is this: you can have a lot of fun chatting with these girls
    from India, so don’t hesitate and try our free indian porno chat right now!
    A thin, not even further as I squinted into me an apology anyway, drawing the most pleasurable tickle at her legs and I still naked into yours invited him
    on. We’ve even found a few that get naked and nasty for under
    a dollar a minute. A common question we get is can webcam models
    and agents really make money doing this? The services listed in our
    directory are all mobile friendly, so feel free to visit our site using your smartphone to
    quickly connect with any of our models. With
    a free membership you will get access to free webcamchat and other content.
    Get a membership today and get access to a VIP video completely
    gratis with all our who speak Italian young ladies !

  8. This article will assist the internet visitors for building up new weblog or even a weblog from start to end.

  9. custom garage doors

    Howdy this is kind of of off topic but I was wanting to know if blogs
    use WYSIWYG editors or if you have to manually
    code with HTML. I’m starting a blog soon but have no coding expertise so I wanted to get advice from
    someone with experience. Any help would be greatly appreciated!

  10. Whoa! This blog looks exactly like my old one!

    It’s on a entirely different subject but it has
    pretty much the same layout and design. Superb choice of
    colors!

  11. cosplay costumes

    Hi there Dear, are you truly visiting this web page daily,
    if so after that you will absolutely obtain good knowledge.

  12. ORder Elite Vitality Pills

    I used to be recommended this website through my cousin. I’m now not sure whether this submit is written through him as nobody else know such specific
    approximately my trouble. You are incredible!
    Thanks!

  13. What’s up, its fastidious piece of writing about media print, we all
    know media is a great source of information.

  14. Hi to every one, since I am really keen of reading this blog’s post to be updated regularly.

    It includes nice material.

  15. Jana

    Hello There. I found your blog using msn. This is a very well
    written article. I will make sure to bookmark it and come back
    to read more of your useful information. Thanks for the post.
    I will certainly return.

  16. I enjoy reading through a post that can make men and women think.
    Also, thank you for permitting me to comment!

  17. http://ketoultrafast.net/

    I all the time emailed this web site post page to all my friends, as if like
    to read it afterward my contacts will too.

  18. Renegade Keto Review

    Hello.This post was extremely fascinating, especially since I was
    looking for thoughts on this topic last week.

  19. KR Mixture CBD REview

    Awsome website! I am loving it!! Will be back later to read some more.
    I am bookmarking your feeds also

  20. 보험

    Its such as you read my mind! You appear to understand so much approximately
    this, like you wrote the guide in it or something.
    I believe that you can do with a few % to power the message house a bit, but instead of that,
    that is magnificent blog. A fantastic read. I’ll certainly be
    back.

  21. concordatory

    Today, I went to the beach front with my children. I found a sea
    shell and gave it to my 4 year old daughter and said “You can hear the ocean if you put this to your ear.” She placed the shell to her
    ear and screamed. There was a hermit crab inside and it pinched her ear.
    She never wants to go back! LoL I know this is entirely off topic but I had to
    tell someone!

  22. xem them

    Remarkable! Its in fact remarkable post, I have got much clear idea regarding from this post.

  23. chatturb.com

    My freak ass thought this was a porn star …

  24. Herbal Native CBD

    I’d like to thank you for the efforts you’ve put in penning this site.
    I really hope to view the same high-grade content from you in the future as well.
    In truth, your creative writing abilities has inspired me
    to get my own, personal website now 😉

  25. hdpornstream.com

    However, blockchains have a multitude of applications and can be used in a variety of fields.
    Most of these sites allow free communication, so, really, what do you have to lose?
    Not only is it free to join and search for date prospects, but the
    site also offers free instant messaging between members.
    Staying true to its ethical cam site roots, the service plans to host
    a profile system and let users access past streams if the performer allows it, either by offering them for free or through
    tokens. The government has failed you, the system has
    failed you, the society has failed you, do you want to fail yourself?
    In 2012, Tinder became famous for facilitating hookups with its fast-paced matching system
    that emphasizes photos over demographic information or bios.

    Tinder is a no-brainer for this list. First impressions matter on Tinder.

    People head to FriendFinder-X in search of casual encounters,
    not relationships, and they won’t be offended if you
    invite them to bed within the first few messages. It isn’t
    the first time that Hong Kong’s adult industry has taken part in civic movements.

  26. KetoGeniks Keto

    I love your writing style really loving this website.

  27. stove repair los angeles

    Good day I am so excited I found your website, I really found you by accident, while I was browsing on Digg for
    something else, Anyhow I am here now and would just like to say cheers
    for a marvelous post and a all round entertaining blog (I
    also love the theme/design), I don’t have time to read
    through it all at the moment but I have saved it and also included your RSS feeds, so when I
    have time I will be back to read more, Please do keep up the excellent jo.

  28. 토렌트 사이트 추천

    Hello there! I could have sworn I’ve been to your blog before but after going through many of the articles I realized it’s new to me.
    Anyways, I’m definitely pleased I came across it and I’ll be bookmarking it and checking back often!

  29. Hi there to all, as I am genuinely keen of reading this blog’s post
    to be updated daily. It consists of good data.

  30. 대전안마방

    This information is worth everyone’s attention.
    How can I find out more?