Web lists-archives.com

Re: [PHP] PHP-FPM fails to start scripts

On 23/05/17 02:41, John Iliffe wrote:
> The Apache directive invoking this script is:
> 	ProxyPassMatch "^/.*\.php(/.*)?$" fcgi://

ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://$1
was your original line, and this should have resulted in the right
trimming of slashes while I think you are currently getting the double
slash because of the trailing one in your current string.

ProxyPassMatch ^/info$ fcgi://
and http://localhost/info should work ... but is /httpd REALLY a root
folder? I'm getting /srv/www/htdocs as the default root, and I switch to
/srv/website/test.com for each website ...

I'm still running Apache2.4 with mod_php5.so as I was having a similar
problem 'converting'. I've got nginx running php-fpm and even different
versions which I can pick up, but I could do with having another go with
the old Apache machines if only to allow PHP7 to run with the PHP5 setup ;)

Lester Caine - G8HFL
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php