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

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

解决办法如下:

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

lnmp restart

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

分享到:

125,934 条评论

昵称
  1. Tuyen ca si

    This is good for you and your business, because their
    readers are probably your personal target audience. A recent
    survey noted that 53% of interviewed marketing professionals are actually aiming to outsource their marketing and advertising needs.
    Like you may employ using a contest built across
    the votes of the readers.

  2. Tuyen ca si

    Nonetheless, it’s something that may delay the harder tech-literate users, simply because this degree of functionality comes at the cost of choice – you haven’t any say inside the program that’s
    included with the computer. If you’re firm trying to use Twitter for marketing and publicity, just through an account
    and updating once in awhile just isn’t sufficient. The Pay-Per-Click Internet advertising model uses publisher’s sites, to place
    advertisements in order to draw attention to your business.

  3. Nonetheless, it’s something that may put off the greater tech-literate
    users, because this level of functionality comes at the cost associated with
    preference – you don’t have any say in the application that’s included with the computer.
    If you’re firm wanting to use Twitter for marketing and
    publicity, just having an account and updating every now and then isn’t
    sufficient. User centricity and citizen centricity are not only
    in regards to a proactive paradigm change by providers as well as the government; it’s
    about us as individuals also, what we are actively willing to do in way of life
    within the same spirit that we have been preaching our providers and institutions
    to feature into their culture.

  4. Wilfredo

    Viewers will get a solid idea of the different interesting information about the movie Mohandas.
    State of play: Directors: Kevin Macdonald: Writters:
    Mathew Michael Carnahan, Tony Gilroy and Peter Morgan: Cast:
    Russel Crowe, Ben Affleck, Rachel Adams, Helen Mirren and Jason Bateman. With
    a budget of $63 million it took just $37 million with the US box office.

  5. Hi! Do you use Twitter? I’d like to follow you if that would be okay.
    I’m undoubtedly enjoying your blog and look forward to new updates.

  6. This is a great tip particularly to those new to the blogosphere.
    Short but very accurate info… Appreciate your sharing this one.
    A must read post!

  7. If you want to get high quality films from your network, deciding on the riight sort
    of movie download site is the superior value.
    State of play: Directors: Kevin Macdonald: Writters:
    Mathew Michael Carnahan, Tony Gilroy and Peter Morgan: Cast:
    Russel Crowe, Ben Affleck, Rachel Adams, Helen Mirren and Jason Bateman. Other notable
    features included in the Netflix App worth mentioning are that the app saves lots
    of in places you stopped watching the movie for later
    on.

  8. Definitely believe that which you stated. Your favorite justification appeared to be on the net the simplest
    thing to be aware of. I say to you, I definitely get irked while people consider worries that they plainly do not
    know about. You managed to hit the nail upon the top as well as defined out the
    whole thing without having side-effects , people can take a signal.

    Will probably be back to get more. Thanks

  9. poker online

    It’s truly very difficult in this full of activity life to listen news on TV, so
    I simply use internet for that purpose, and obtain the most recent news.

  10. clicker games

    Hey there! This is my first visit to your blog!
    We are a team 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 extraordinary job!

  11. You need to take part in a contest for one of the best blogs on the net.
    I’m going to recommend this blog!

  12. Oh my goodness! Impressive article dude! Thank you, However
    I am experiencing difficulties with your RSS. I don’t know
    why I am unable to join it. Is there anybody else having
    similar RSS problems? Anyone who knows the answer will you kindly respond?
    Thanks!!

  13. Hello! I just want to give you a huge thumbs up for your excellent information you’ve got right here on this post.

    I’ll be coming back to your website for more soon.

  14. cheap cialis

    We’re a gaggle of volunteers and starting a new scheme in our community.
    Your site offered us with helpful info to work on. You have done a formidable activity
    and our whole group will probably be grateful to you.

  15. We are a group of volunteers and opening a new scheme in our community.

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

  16. 5escortgirls Quick search and find the modern results Get a massage escort
    girl, discrete apartment or any perfect and indulgent recreation. Seeking escort girls?
    Discrete apartments? Produce a quick search by region

  17. This is a physically demanding sport that needs protective gear at all times.

  18. Tressa

    Hi to all, how is the whole thing, I think every one is getting more from this website, and your views are pleasant designed for new viewers.

  19. Thanks for one’s marvelous posting! I really enjoyed reading it,
    you’re a great author. I will be sure to bookmark your blog and will often come back later on. I want to encourage continue your great
    writing, have a nice morning!

  20. 深圳外围

    Hi! I’m at work browsing your blog from my new apple iphone!
    Just wanted to say I love reading your blog and look forward
    to all your posts! Carry on the fantastic work!

  21. If you can practice in the heat or cold, do it.

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

  23. kirchenaustritt

    You could definitely see your expertise in the article you write.
    The arena hopes for more passionate writers such as you who are not afraid to mention how
    they believe. At all times follow your heart.

  24. You can still make use of photo as being a cover as long
    it’s wide enough to cover the space and facebook
    features its own selection that may permit you to drag
    the style within the cover box to use. If this does not happen any more, you can get Facebook likes
    so your submissions are still being generated.
    In the pop up window, type in the file name and select a destination folder for your output movie.

  25. Write more, thats all I have to say. Literally, it seems as though you relied on the video to make your point.
    You definitely know what youre talking about, why
    waste your intelligence on just posting videos to your weblog
    when you could be giving us something informative to read?

  26. This is very interesting, You’re a very skilled blogger.
    I’ve joined your feed and look forward to seeking more of your magnificent
    post. Also, I’ve shared your website in my social networks!

  27. d.2 scr888.com

    Hi there! I just want to offer you a big
    thumbs up for your great info you have here on this post.
    I will be coming back to your web site for more soon.

  28. robux generator

    Very interesting info !Perfect just what I was searching for! “Fear not that thy life shall come to an end, but rather fear that it shall never have a beginning.” by John Henry Cardinal Newman.

  29. Despite this he finds love as well as a family with Mandira, played by Kajol.

    No, take into consideration how much cash you
    have spent in gas planning to pick up movies. There is certainly not that transports you away from
    the daily grind than grabbing a bucket of popcorn, a tremendous softdrink and sitting returning to like a blockbuster movie.

  30. I am now not positive where you’re getting your information, however good topic.
    I needs to spend a while learning more or working out more.
    Thanks for magnificent information I was in search
    of this information for my mission.