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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   1250 Views

Avatar
folibis

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 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.

Avatar
Bambii7

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.