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

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

解决办法如下:

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

lnmp restart

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

分享到:

125,959 条评论

昵称
  1. Link exchange is nothing else except it is simply placing the other person’s webpage link on your page
    at suitable place and other person will also do same
    in support of you.

  2. Under the assumption we will be bffs and quote shrek.
    Then yes. We are friends

  3. We’re a group of volunteers and opening a new scheme in our community.

    Your web site provided us with valuable information to work
    on. You’ve done an impressive job and our entire community will be
    thankful to you.

  4. w88

    My coder is trying to persuade me to move to .net from PHP.
    I have always disliked the idea because of the expenses.

    But he’s tryiong none the less. I’ve been using Movable-type on a
    variety of websites for about a year and am anxious about switching to another platform.
    I have heard good things about blogengine.net. Is there a way
    I can transfer all my wordpress content
    into it? Any kind of help would be really appreciated!

  5. play game

    Greetings from Carolina! I’m bored to death at work so I decided to browse your website on my iphone during lunch break.
    I enjoy the info you provide here and can’t wait to take a look when I get home.
    I’m amazed at how quick your blog loaded on my phone ..
    I’m not even using WIFI, just 3G .. Anyhow, fantastic
    site!

  6. research

    I blog often and I really thank you for your content.

    This article has truly peaked my interest. I am going to book mark your site
    and keep checking for new details about once per week.
    I subscribed to your Feed as well.

  7. This article presents clear idea in favor of the new people of blogging,
    that actually how to do running a blog.

  8. Appreciate the recommendation. Will try it out.

  9. Hi, yup this article is really good and I have learned lot of things from it concerning blogging.
    thanks.

  10. Excellent beat ! I would like to apprentice while you amend your
    website, how can i subscribe for a blog web site?

    The account aided me a applicable deal. I have been tiny bit
    acquainted of this your broadcast provided vivid
    transparent concept

  11. What’s up everyone, it’s my first visit at this website, and piece of writing is genuinely fruitful in favor of me, keep up posting these types of articles or reviews.

  12. nauka jazdy

    Hello! Would you mind if I share your blog with my twitter group?
    There’s a lot of folks that I think would really appreciate your content.
    Please let me know. Cheers

  13. thanks a lot lots this website is actually elegant along
    with informal

  14. WOW just what I was searching for. Came here by searching for car breakers Gloucester

  15. Tuyen ca si

    The having any form of media content which isn’t original is
    recognized as piracy. The fact is that many
    new online marketers don’t succeed because they’re can not make use of the efficiency of websites to promote their business.
    Like you may employ using a contest built around the votes from the readers.

  16. Joker

    In order to perform at your best, you need to make sure you’re drinking water as often as you can.

  17. AQ hand is an interesting spot and as AJ Shap mentioned,
    this is very player dependant as to how we react to
    this aggression. NIT and LAG opponents are going to have such huge range
    differentials and knowing which V type we are up
    against would have helped us immensely. Without that information available, we
    need to fall back on what are our experiences are of the
    population pool in spots like this? We know that multiple post flop barrels OOP when V chooses to 3 bet pre are value dense.
    So we are looking at those value combos only, and say we put
    in AKcc as a semi bluff and include the remaining 6 combos of AQ we are
    still a massive dog in the hand. Feels like the only hands we beat are AKcc and KQdd.
    V holding only one semi bluff, one over valued hand and
    then just remaining hands that crush us, we find ourselves in a -ev spot.
    One other thing to note, is I like to look at two classifications of our range.

    1. We are in top of range 2. Where in top of range are we?

    Answer we are at the bottom of our top of range. This is important to consider because
    it severs as a reminder we have a one pair hand.
    How do one pair hands do in 3 bet pots facing multiple barrels?
    Sometimes top top and even over pairs do not preform well in these
    spots. With all that said and when considering all the spots we
    get put into, the flop kind of coolers us. One thing
    I can say, if you get to a place where you
    can correctly folding AQ vs KK and call KQ vs TT on flops
    we make top pair, you are going to be extremely formidable no matter who is sitting
    with you. Sounds to me your basically there!

  18. Hello my friend! I wish to say that this article is amazing, great written and
    include almost all significant infos. I would like to
    see extra posts like this .

  19. Наконец-то Тотти вернулся) осталось мсджана возвращение)

  20. Tuyển ca sỹ

    You might be highly surprised at the quantity of people happy to post comments on your
    You – Tube video to get a remarkably low fee. If this does not occur any more, you should buy Facebook likes so your submissions are still being generated.

    The Pay-Per-Click Internet advertising model uses publisher’s sites,
    to position advertisements so that you can draw attention to your
    business.

  21. An interesting discussion is worth comment. I believe that you ought to write more on this issue,
    it might not be a taboo matter but usually people do not speak about these
    issues. To the next! Kind regards!!

  22. I know this website gives quality dependent articles or reviews and additional material, is there any other website which offers these data in quality?

  23. What’s up to every body, it’s my first pay a visit of this blog; this
    website contains amazing and actually good stuff in support of visitors.

  24. awesome vlog Richard, and congratz on your first youtube article

  25. Even if you touch on topics that may seem controversial, incorporate some humor into your posts.

  26. Hey, I think your site might be having browser compatibility issues.
    When I look at your website in Ie, 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, terrific blog!

  27. สล็อต

    Compliment these with sections of italicized text and keywords that fit your niche.

  28. Roseanne

    Despite this he finds love plus a family with Mandira,
    played by Kajol. However, as a result of escalating function pressure along with subsequently the specific shortage
    of energy, people performs misses out on common movies plus
    some installments of a typical series. Browse through websites that allow you
    to watch or download movies legally.

  29. Hello just wanted to give you a quick heads up.
    The text in your post seem to be running off the screen in Opera.
    I’m not sure if this is a format issue or something to do with internet browser compatibility but I figured I’d post to let
    you know. The design look great though! Hope you get the problem solved soon. Cheers

  30. Hi it’s me, I am also visiting this site daily, this website is genuinely good
    and the viewers are truly sharing nice thoughts. -tbym26