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

[email protected] (Lester Caine)
Newsgroups php.general
Message-ID <[email protected]>
On 23/05/17 02:41, John Iliffe wrote:
> The Apache directive invoking this script is:
> 
> 	ProxyPassMatch "^/.*\.php(/.*)?$" fcgi://127.0.0.1:9015/httpd/iliffe/

ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9015/httpd/iliffe/$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://127.0.0.1:9015/httpd/iliffe/i_phpinfo.php
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.