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

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

解决办法如下:

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

lnmp restart

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

分享到:

125,951 条评论

昵称
  1. 온라인 바카라

    Very good blog post. I certainly appreciate this site.
    Keep it up!

  2. 온라인 바카라

    No matter if some one searches for his essential thing, so he/she desires to be available that in detail, therefore that thing is maintained over here.

  3. 카지노 사이트

    Magnificent beat ! I would like to apprentice while you amend
    your site, how could i subscribe for a blog website?

    The account helped me a acceptable deal. I had been a little bit acquainted of this
    your broadcast offered bright clear idea

  4. 카지노

    My brother suggested I may like this website. He used to be totally right.
    This submit actually made my day. You can not imagine just how
    a lot time I had spent for this info! Thanks!

  5. 온라인 바카라

    Hmm is anyone else having problems with the images on this blog loading?
    I’m trying to determine if its a problem on my end or if it’s the blog.
    Any responses would be greatly appreciated.

  6. www.grupo-huk.com

    I just could not leave your site prior to suggesting that I really loved the usual info an individual supply
    on your guests? Is gonna be again regularly in order to inspect new
    posts

  7. 예스 카지노

    Fantastic goods from you, man. I’ve take into accout your stuff previous to and you’re just extremely
    fantastic. I actually like what you’ve bought here, certainly like what you’re stating
    and the way in which you are saying it. You are making it entertaining and you still
    care for to keep it sensible. I can’t wait to read far more from
    you. This is really a wonderful site.

  8. www.winstonrosewater.com

    Wow that was strange. I just wrote an extremely long
    comment but after I clicked submit my comment didn’t appear.
    Grrrr… well I’m not writing all that over again. Anyway, just
    wanted to say fantastic blog!

  9. 온라인 바카라

    You’re so awesome! I don’t suppose I have
    read through something like this before. So great to find someone with a few original thoughts on this
    subject matter. Seriously.. thanks for starting this up.
    This site is something that’s needed on the
    internet, someone with a bit of originality!

  10. 온라인 바카라

    My spouse and I stumbled over here by a different
    web address and thought I should check things out.

    I like what I see so now i am following you.

    Look forward to looking into your web page repeatedly.

  11. 카지노

    If some one wishes to be updated with latest technologies then he must be pay a visit this
    web page and be up to date every day.

  12. 카지노

    Wow, fantastic blog layout! How long have you been blogging
    for? you make blogging look easy. The overall look of your website is excellent, let alone the content!

  13. Alternatif sdtoto

    I’m not that much of a online reader to be honest but your blogs really nice, keep it up!
    I’ll go ahead and bookmark your site to come back down the road.
    All the best

  14. 온라인 바카라

    Aw, this was an incredibly good post. Spending some time and actual effort to make a
    great article… but what can I say… I procrastinate a whole
    lot and don’t seem to get anything done.

  15. 바카라 사이트

    Very quickly this web page will be famous amid all blogging people, due to it’s nice posts

  16. 카지노

    It’s perfect time to make some plans for the future and it’s time
    to be happy. I’ve read this post and if I could I want to suggest you few interesting things or advice.
    Perhaps you could write next articles referring to this
    article. I want to read even more things about it!

  17. 바카라

    WOW just what I was looking for. Came here by searching for 바카라 사이트

  18. 바카라 사이트

    Hurrah, that’s what I was looking for, what a information! present here at this webpage, thanks admin of this site.

  19. 온라인 바카라

    It’s the best time to make some plans for the future and it’s time to be happy.
    I have read this submit and if I could I desire to recommend you some
    fascinating things or tips. Maybe you could write subsequent articles referring to this article.
    I desire to learn even more issues approximately it!

  20. funny memes

    Wow, fantastic blog layout! How lengthy have you been running a blog
    for? you made blogging look easy. The whole look
    of your site is magnificent, as well as the content!

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

    The perfect man is usually the grooms most trustworthy and faithful buddy or relative.

    The most effective man is usually the grooms most reliable and faithful
    friend or relative. The ushers may be the grooms brothers,
    cousin, or finest associates, or brothers and shut relatives of the bride.
    Responsibilities of the most effective Man Before the wedding, he
    – pays for his own attire, bought or rented. May give the envelope to the officiant before the ceremony.

    During the ceremony, he – isn’t a part of the processional but
    enters with the groom, standing behind the groom and slightly to the left.
    After the ceremony, he – instantly serves as one of the witnesses in signing the wedding license.
    At the reception, he – does not stand in the receiving line until he is also the father of the groom.
    After the reception, he – promptly returns both his and the grooms rented formal wear to
    the appropriate location.

  22. 바카라

    Howdy! This post couldn’t be written any better! Reading through this post reminds me of my old room mate!
    He always kept chatting about this. I will forward this article to him.
    Fairly certain he will have a good read. Thanks for sharing!

  23. grundfos water pump price

    Hey there! I’m at work surfing around your blog from my new iphone 3gs!
    Just wanted to say I love reading your blog and look
    forward to all your posts! Keep up the fantastic work!

  24. 바카라

    Hi! I simply want to give you a huge thumbs up for the great information you’ve got right here
    on this post. I am returning to your blog for more soon.

  25. 온라인 바카라

    Hi there! This post couldn’t be written any better!
    Looking through this post reminds me of my
    previous roommate! He constantly kept talking about this.
    I most certainly will send this information to him. Pretty sure he will have a
    very good read. Thanks for sharing!

  26. 더킹 카지노

    I feel that is one of the such a lot important information for me.
    And i am glad reading your article. However wanna observation on some normal things, The site taste is great, the articles is really excellent : D.
    Good process, cheers

  27. 카지노

    Hi would you mind letting me know which webhost you’re working with?
    I’ve loaded your blog in 3 different internet browsers and I must say this
    blog loads a lot faster then most. Can you suggest a
    good hosting provider at a fair price? Many thanks, I appreciate it!

  28. 바카라 사이트

    Howdy would you mind stating which blog platform you’re using?
    I’m planning to start my own blog in the near future but I’m having a
    tough time deciding between BlogEngine/Wordpress/B2evolution and Drupal.
    The reason I ask is because your design and style
    seems different then most blogs and I’m looking for something completely unique.
    P.S Sorry for being off-topic but I had to ask!

  29. 카지노 사이트

    Great blog! Do you have any tips and hints for aspiring writers?
    I’m hoping to start my own blog soon but I’m a little lost on everything.
    Would you suggest starting with a free platform like WordPress or go for a paid option? There
    are so many choices out there that I’m totally overwhelmed
    .. Any tips? Thanks!

  30. 카지노 사이트

    We stumbled over here different web address and thought I might check things
    out. I like what I see so now i am following you. Look forward to finding out about your web page again.