Re: PHP-FPM fails to start scripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux