Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Installing SilverStripe /

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

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

Nginx configuration

Go to End

2 Posts   939 Views


Community Member, 13 Posts

21 April 2013 at 2:01pm

I try to install SilverStripe on my Linux server with Nginx/php-fpm.
My nginx config file similar to this one, 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 helped me but i am not sure is it secure config or not.


Community Member, 254 Posts

3 May 2013 at 5:52pm

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.