Jeff Trawick wrote:
> SUWNapch22m-php52 (mod_php) installs a conf file that loads mod_php 
> and sets up handler associations for php files, if the 32-bit httpd 
> with prefork MPM is used.
>

> SUNWphp52 installs php-cgi, which can be used with any httpd mode via 
> mod_fcgid (FastCGI).
>
> We could install php-fastcgi.conf which sets up FastCGI PHP if
>
> * mod_fcgid loaded
> * either worker MPM or 64-bit httpd is used
>
> It seems that such a conf file belongs to SUNWphp52, which delivers 
> the PHP FastCGI support, but it shouldn't depend on httpd; also, 
> perhaps it would be disturbing to not use httpd at all but have 
> /etc/apache2/2.2/conf.d ???

Currently, SUNWphp52u (usr) or SUNWphp52r (root configuration files) 
package carries files only with respect to php. apache configuration and 
module files are delivered by SUNWapch22[rm]-php52.  We could probably 
deliver php5.2-fcgi.conf under /etc/apache/2.2/conf.d as part of 
SUNWapch22r-php52 (our current package for mod_php)

this configuration file can provide fastcgi configuration if fastcgi 
module is loaded. because of the way, fastcgi can be configured, i 
guess, user will need to make some change to this php5.2-fcgi.conf to 
get fastcgi working with php

- sriram
>
> mod_fcgid's conf could theoretically set up the PHP associations if 
> mod_php is not loaded.  (Requests for php files would get 500 if 
> php-cgi wasn't installed.)
>
> Thoughts?
>
> _______________________________________________
>
>
> webstack-discuss mailing list
> webstack-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/webstack-discuss

Reply via email to