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

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

解决办法如下:

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

lnmp restart

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

分享到:

1,404 条评论

昵称
  1. Way cool! Some very valid points! I appreciate you writing this post and the rest of the website is also very good.

  2. 바카라사이트

    Hi! This post could not be written any better! Reading this post reminds me of my old room mate!

    He always kept chatting about this. I will
    forward this article to him. Pretty sure he will have a good read.
    Thank you for sharing!

  3. Hello, for all time i used to check web site posts here
    in the early hours in the morning, for the reason that i
    enjoy to find out more and more.

  4. This web site really has all the information I needed concerning this subject and
    didn’t know who to ask.

  5. Google Torrent

    Hi, I do believe this is an excellent blog. I stumbledupon it
    😉 I am going to return once again since I book-marked it.
    Money and freedom is the greatest way to change,
    may you be rich and continue to guide other people.

  6. Peculiar article, exactly what I needed.

  7. I do accept as true with all of the ideas you’ve
    introduced on your post. They are very convincing and can certainly work.
    Nonetheless, the posts are very brief for beginners. Could
    you please prolong them a bit from subsequent time?
    Thank you for the post.

  8. Nice blog here! Also your web site loads up fast! What host
    are you using? Can I get your affiliate link to your
    host? I wish my site loaded up as quickly as yours lol

  9. I’m really loving the theme/design of your weblog. Do you ever
    run into any internet browser compatibility problems?
    A small number of my blog audience have complained about my website not working correctly
    in Explorer but looks great in Safari. Do you have any tips to help fix this issue?

  10. I like looking through an article that can make people think.
    Also, thanks for permitting me to comment!

  11. What’s up it’s me, I am also visiting this site on a regular basis,
    this web site is genuinely nice and the viewers are truly
    sharing good thoughts.

  12. plenty of fish dating site

    When I originally commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get three
    e-mails with the same comment. Is there any way you
    can remove me from that service? Bless you!

  13. Hi, i think that i saw you visited my site so i came to “return the favor”.I’m attempting to
    find things to enhance my site!I suppose its ok to use some of your ideas!!

  14. I like the helpful info you provide in your articles. I’ll bookmark your weblog and
    check again here regularly. I am quite sure I’ll learn many new stuff
    right here! Best of luck for the next!

  15. https://www.hnxpkd2s.online

    Thank you a lot for sharing this with all of us you actually
    know what you’re speaking approximately!
    Bookmarked. Kindly also talk over with my website =). We may have a link alternate agreement among us

  16. I’m not sure where you’re getting your info, but good topic.

    I needs to spend some time learning more or understanding more.
    Thanks for magnificent information I was looking for this info for my mission.

  17. https://www.khappy.kr/

    It’s remarkable to visit this site and reading the views of all colleagues about this post, while I am also keen of getting experience.

  18. I like the helpful info you supply for your articles.

    I will bookmark your blog and test once more here frequently.
    I’m relatively sure I will be informed lots of new stuff right
    here! Best of luck for the following!

  19. plenty of fish dating site

    Right now it sounds like Expression Engine is the top blogging platform available right now.
    (from what I’ve read) Is that what you are using on your blog?

  20. plenty of fish dating site

    I don’t even know the way I stopped up here, however I believed
    this publish was once good. I do not recognize who you’re however certainly you’re going to a famous blogger in the
    event you aren’t already. Cheers!

  21. plenty of fish dating site

    Incredible points. Sound arguments. Keep up the great spirit.

  22. plenty of fish dating site

    This text is worth everyone’s attention. Where can I find out more?

  23. Charlesmes

    [url=http://buyretinaonlinenoprescription.com/]otc retin a[/url] [url=http://ventolin.us.org/]buy ventolin[/url] [url=http://saemedargentina.net/]propranolol er[/url] [url=http://tretinoin.recipes/]tretinoin cream[/url] [url=http://prednisone.irish/]additional info[/url] [url=http://buyprozac.ooo/]buy prozac online[/url] [url=http://cymbaltacost.com/]cymbalta duloxetine hcl[/url] [url=http://amoxicillin.us.com/]amoxicillin[/url] [url=http://acyclovir.wtf/]acyclovir[/url]

  24. Payday Loan

    [url=https://loansforbadcredit1.com/]loans for bad credit[/url] [url=https://cashadvance3.com/]payday loan cash advance[/url] [url=https://paydayloans3.com/]cash advance installment loan[/url]

  25. Quality content is the secret to be a focus
    for the people to visit the website, that’s what this web page is providing.

  26. barenAked ladies

    Fastidious answer back in return of this matter with genuine arguments
    and describing the whole thing on the topic
    of that.

  27. My brother suggested I may like this web site. He was once entirely
    right. This publish actually made my day. You can not believe just
    how much time I had spent for this information! Thanks!

  28. 에비앙카지노

    Wonderful website you have here but I was wondering if you knew of any forums that cover the same
    topics talked about here? I’d really like to be a part of
    group where I can get opinions from other experienced people that share the
    same interest. If you have any recommendations,
    please let me know. Thanks a lot!

  29. always i used to read smaller posts which as well clear their motive,
    and that is also happening with this piece of writing which I am reading now.

  30. Sochi.cat Bex

    создание сайтов/url]