Jump to:

4935 Posts in 16178 Topics by 1488 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Nginx configuration

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 425 Views
  • folibis
    Avatar
    Community Member
    10 Posts

    Nginx configuration Link to this post

    I try to install SilverStripe on my Linux server with Nginx/php-fpm.
    My nginx config file similar to this one http://doc.silverstripe.org/framework/en/installation/nginx, just "root" and php-fpm socket are different.
    The new installed site works fine, but there is a problem in admin section. I can't see rich editor. After seeking the nginx log I found that nginx returns file /framework/thirdparty/tinymce/tiny_mce_gzip.php unparsed. Just plain php code, not javascript.
    So what I do wrong?

    Different nginx config http://www.sspaste.com/paste/show/505bf25860775 helped me but i am not sure is it secure config or not.

  • Bambii7
    Avatar
    Community Member
    254 Posts

    Re: Nginx configuration Link to this post

    Sorry if this isn't really helpful.
    But I'd recommend Apache for PHP. php-fpm seems to have heaps of issues, it's a very delicate set up with Ngnix. Crashes frequently in my experience.

    If you're after the speed Nginx offers with static files, have an Apache Silver Stripe set up which statically exports the entire site to a live Nginx server. Then you'll have a blindingly fast site which wont touch PHP. Also you won't have security issues, and just a default install of Nginx. Again sorry this doesn't really address your configuration issue.

    425 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.