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

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

解决办法如下:

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

lnmp restart

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

分享到:

125,947 条评论

昵称
  1. 온라인 바카라

    Hello great website! Does running a blog like this require a lot of work?
    I have very little understanding of coding but I had been hoping to start my own blog in the near future.
    Anyway, if you have any ideas or tips for new
    blog owners please share. I understand this is off subject nevertheless I simply wanted to ask.
    Thanks a lot!

  2. 카지노 사이트

    I’ve been surfing online more than three hours nowadays, but I by no
    means discovered any fascinating article like yours.

    It is pretty value enough for me. In my view, if all site owners and bloggers made just
    right content as you probably did, the net shall be a lot
    more helpful than ever before.

  3. 예스 카지노

    Please let me know if you’re looking for a writer for your weblog.
    You have some really great posts and I believe I would be a good asset.
    If you ever want to take some of the load off, I’d really like to write some content for your blog in exchange for a link back to mine.
    Please shoot me an e-mail if interested. Cheers!

  4. 바카라 사이트

    Hey there! Someone in my Facebook group shared this website
    with us so I came to take a look. I’m definitely enjoying
    the information. I’m book-marking and will be
    tweeting this to my followers! Outstanding blog and wonderful design.

  5. 카지노

    Hi to every body, it’s my first go to see of this website;
    this web site consists of amazing and genuinely excellent data in support of readers.

  6. 바카라

    Thank you a lot for sharing this with all of us you really
    recognize what you’re speaking approximately! Bookmarked. Please additionally seek advice from my website =).
    We will have a hyperlink exchange agreement among us

  7. I quite like reading through an article that will make people think.

    Also, many thanks for allowing me to comment!

  8. I’m not sure where you are getting your information, but great topic.
    I needs to spend some time learning much more or
    understanding more. Thanks for fantastic information I was looking for this info for my mission.

  9. 카지노

    My family all the time say that I am killing my time here
    at net, but I know I am getting know-how all the time by reading such good content.

  10. 카지노

    Wow, this paragraph is pleasant, my younger sister is analyzing these things, thus I am going to convey her.

  11. 예스 카지노

    Excellent post. I was checking continuously this blog and I am
    inspired! Extremely helpful information particularly the remaining section 🙂 I handle such information much.
    I used to be seeking this certain information for a long time.
    Thanks and best of luck.

  12. w88

    This is my first time pay a visit at here and i am in fact happy to read everthing at one place.

  13. Hey there! This is my first visit to your blog!
    We are a group of volunteers and starting a new project in a community in the same niche.
    Your blog provided us valuable information to work on. You have done a outstanding
    job!

  14. www.najiur.com

    I am genuinely thankful to the owner of this web page who has shared this
    enormous paragraph at at this time.

  15. 바카라 사이트

    hello!,I like your writing so a lot! share we keep in touch more approximately your article on AOL?
    I require a specialist in this house to solve my problem.
    May be that is you! Taking a look ahead to
    see you.

  16. 카지노 사이트

    My brother suggested I may like this website. He was once
    entirely right. This post actually made my day. You cann’t imagine just how much time I had spent for this information! Thank you!

  17. 카지노 사이트

    I got this website from my buddy who told me regarding this web page and now this time I am visiting this web page and
    reading very informative content at this time.

  18. Dewapoker

    Nice post. I was checking constantly this blog and I’m impressed!

    Extremely useful info specially the last part 🙂 I care for such info much.
    I was seeking this certain info for a long time. Thank you
    and good luck.

  19. 바카라 사이트

    Hi there, I discovered your web site via Google whilst looking for a related topic,
    your web site came up, it seems to be great. I’ve bookmarked it in my google bookmarks.

    Hello there, just turned into aware of your blog through Google, and located
    that it’s truly informative. I am gonna be careful for brussels.
    I’ll be grateful when you continue this in future.
    Many other folks shall be benefited from your writing.
    Cheers!

  20. 예스 카지노

    What’s up, I desire to subscribe for this webpage to obtain most up-to-date updates,
    so where can i do it please help.

  21. Mickey Psencik

    Vacation Easily With These Advice Traveling is so much more that only moving with a airplane to a different destination. Travel has got the possibility to be a fascinating expertise.The number of choices are without restriction.Do you want to get away from all of it and discover the trip of your life? Regardless of how you response, here are some concepts to help you get heading. Shedding a kid can be quite frightening. When browsing overseas countries, be mindful when working with taxi cab cabs. You ought to make an effort to ensure that you are employing a real taxi assistance. Stop at a hotel with free of charge parking and get there the evening until you are to go out of if you travel to your port city ahead of going on your cruise trip. Ask employees at the accommodation that you stay about car parking deals. Join message boards and social networks. A great way to prepare for your holiday. This can place you in a small grouping of people that talk about activities to protect yourself from producing their faults or missing out on some great spots by yourself getaway. Continue to keep vacation essentials inside the identical spot of your residence.Steer clear of misused time spent getting each of the little things you only use for vacationing. Buy a plastic container to maintain all your travel demands in a single spot. A compartment that can be concealed beneath the your bed is ideal for keeping a variety of items. Always remember to suggestion the housekeeper and bell station. Find out as quickly as possible whether or not you require a visa to gain access to the country you must check out. Sometimes the wheels of bureaucracy change little by little, so it is generally a great idea to begin the procedure of trying to get one once you can. The markup on these conveniently scaled products is silly.Try moving tops as opposed to foldable those to preserve place and allow you to get a lot less luggage together with you. These lessening strategies will allow you to generate further space in the small room. Think about distinct travelling you’re likely to use. Vehicles have a long way. You can get pack offers from some facial lines that can make your travel planning for a cinch. It should certainly be evident that traveling consists of a lot more than simply getting on an airplane and soaring to a different spot. Preparation will be the biggest part of your entire travelling encounter. With the help of these guidelines, planning will certainly be a breeze!

  22. 바카라

    Great post. I used to be checking continuously this
    weblog and I am impressed! Very helpful information specifically
    the remaining section 🙂 I maintain such information a lot.
    I was seeking this certain info for a long time.
    Thanks and best of luck.

  23. 바카라 사이트

    Yes! Finally someone writes about 카지노.

  24. 바카라 사이트

    Hi! I just wanted to ask if you ever have any issues with hackers?
    My last blog (wordpress) was hacked and I ended up losing a few months of hard work due to no data backup.
    Do you have any solutions to prevent hackers?

  25. 예스 카지노

    Hello Dear, are you genuinely visiting this web page on a regular basis, if so afterward
    you will without doubt get pleasant know-how.

  26. 예스 카지노

    I know this if off topic but I’m looking into starting my own weblog and
    was curious what all is needed to get setup? I’m assuming having a blog like yours would cost a
    pretty penny? I’m not very internet savvy so I’m
    not 100% positive. Any tips or advice would be greatly appreciated.

    Kudos

  27. 카지노 사이트

    I was suggested this website via my cousin. I am not
    sure whether this publish is written by way of him
    as nobody else realize such detailed approximately my problem.
    You’re incredible! Thank you!

  28. 바카라 사이트

    Pretty! This was an extremely wonderful article. Thank you for supplying this
    information.

  29. Einspritzdüsen prüfen

    Hello, i feel that i noticed you visited my site thus i got here to
    go back the want?.I am attempting to in finding issues to
    enhance my website!I suppose its adequate to make use of a few of your concepts!!

  30. am sik

    thank you admin