Thanks for sharing your findings! El 25 may. 2017 8:03 p. m., "John Iliffe" <john.ili...@iliffe.ca> escribió:
> Didn't get a lot of help on the PHP list but the one fellow who tried is > still running PHP-5. So, I backed off to PHP-5.6.30 which is the most > recent stable version of PHP-5 and it worked perfectly. > > If you look at the PHP-7.1.3 or 7.1.5 source in fpm_main.c there is a lot > of commentary about being unable to recover the various script paths when > called from Apache. This is where the problem that I encountered was. > > So, there are a few updates required to the Apache documentation, as found > in the fpm wiki: > > 1. don't use PHP-7 fpm since as of right now it won't work. A good > programmer (not me!) might be able to fix it but then you would have a one- > off and would have to support yourself. > > 2. be careful, the ProxyPassMatch value for fcgi:// should not contain a > trailing '/' because it leads to double '//' in the path recovered by php- > fpm. > > eg: > > ProxyPassMatch "^/.*\.php(/.*)?$" fcgi://127.0.0.1:9000/<path-to-script> > > and NOT: > > ProxyPassMatch "^/.*\.php(/.*)?$" fcgi://127.0.0.1:9000/<path-to-script>/ > > This will work on UNIX based systems but seems to confuse php-fpm. > > John > ================================ > On Monday 22 May 2017 05:49:13 Christian Hettler wrote: > > Hello John, > > > > I think you should try it on an php related list. > > > > sorry, > > > > Christian > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > >