httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Iliffe <john.ili...@iliffe.ca>
Subject Re: [users@httpd] What is preferred PHP interface?
Date Thu, 30 Mar 2017 01:00:49 GMT
Thank you for that very fast response Yehuda.

Surprised that the PHP docs don't seem to have anything equivalent to that 
Wiki.

Regards,

John
=====================================
On Wednesday 29 March 2017 20:47:22 Yehuda Katz wrote:
> The Apache wiki has a rundown of options:
> https://wiki.apache.org/httpd/php Plenty of people still use mod_php
> and it has been updated to work with HTTPD 2.4 and PHP 7.
> 
> - Y
> 
> On Wed, Mar 29, 2017 at 8:49 PM, John Iliffe <john.iliffe@iliffe.ca> wrote:
> > Reading several sources there is conflicting information as to what is
> > the preferred way to implement PHP scripts.  It appears that mod_php
> > (how we do things now) is deprecated so I would like to take
> > advantage of a server change to do things "right".
> > 
> > The documentation on mod_fcgid seems to stop in 2013 with the release
> > of version 2.3.9, so I assume that this is no longer considered to be
> > a good approach.
> > 
> > The link to mod_fastcgi on the Apache documentation page leads to a
> > static billboard page for Chelsea Networks with no links and a last
> > maintained date in 2002, so it doesn't seem to be current either. 
> > This page says to use Netscape to view it (?)
> > 
> > mod_proxy_fcgi seems to be in current use, but right up front is the
> > caveat that there is no starter for the script.  My guess would be
> > that some sort of a wrapper is required to insert the path to the
> > executable, but no documentation has appeared so far.
> > 
> > Using mod_proxy_fcgi also raises the issue of what to proxy to.  The
> > PHP installation (version 7.1.3) includes a php-fpm module but the
> > documentation for it on the PHP web site is rather sparse - ie non-
> > existent.  A Google search comes up with a web site php-fpm.org, but
> > the last entry on the news page is 29 Nov, 2011.  Doesn't sound like
> > this is the preferred path!  The support link here says "Wiki is now
> > offline, sorry.
> > Use PHP 5.3.3+ now, and use php.net!".  This is a very back level of
> > PHP!
> > 
> > So, how is the best way to proceed?
> > 
> > As always, thanks to those who will respond.
> > 
> > Regards,
> > 
> > John
> > 
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message