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.

Installing SilverStripe /

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

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

Nginx configuration


Reply


2 Posts   470 Views

Avatar
folibis

Community Member, 10 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 [url]http://doc.silverstripe.org/framework/en/installation/nginx[/url], 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 [url]http://www.sspaste.com/paste/show/505bf25860775[/url] 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.