dsmith Posted September 5, 2014 Report Share Posted September 5, 2014 Hey there - I am just curious if anyone has any documentation about how to make phpVMS and nginx play nicely together. Does anyone have a sample config? Thanks! Quote Link to comment Share on other sites More sharing options...
ChrisTaylor Posted September 6, 2014 Report Share Posted September 6, 2014 I don't but static images should load faster automatically Quote Link to comment Share on other sites More sharing options...
dsmith Posted September 6, 2014 Author Report Share Posted September 6, 2014 I find nginx/php-fpm to be much faster at...everything. If no one else has documentation, i will try and post my config once it's working completely. Quote Link to comment Share on other sites More sharing options...
dsmith Posted September 6, 2014 Author Report Share Posted September 6, 2014 As an update to this thread; Here's an excerpt example nginx config (assuming php-fpm). Dont copy and paste this. location ~ \.php(.*)$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; include /etc/nginx/fastcgi_params; fastcgi_pass unix:/var/lib/php5-fpm/web5.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_intercept_errors on; } This also assumes your php.ini (in this case for php-fpm) has: cgi.fix_pathinfo=0 At this point i have everything working. Hope that helps someone. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.