Re: PHP-FPM fails to start scripts
| From: | Lester Caine | Date: | Tue, 23 May 2017 06:40:03 +0000 |
| Subject: | Re: PHP-FPM fails to start scripts | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-326088@lists.php.net to get a copy of this message | ||
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