Running PHP Version 4.2.2

I would also like to run PHP both as an Apache module and in CGI mode.

My Red Hat 9 installation includes a nice Apache with PHP compiled in.

I would like to run the "ARSC" PHP/MySQL chat application (from
sourceforge.net) on this server. I could run it as-is, however the
authors recommend using its server sockets feature to cut down on
CPU/RAM useage. This requires that PHP be compiled as a CGI version
with --enable-sockets.

Can I add a PHP CGI installation to my system without its interfering
with the Apache module's performance?

The suggested PHP CGI compilation instruction for ARSC is:

./configure --prefix=/usr/local/php-cgi/4.2.3 \
                    --with-mysql=/your/mysql/sources \
                    --enable-sockets

followed by "make" and "make install", of course.

My guess is that this will NOT impact the Apache installation, as the
CGI version of PHP would need to be invoked by the application, which
is not the same as the server module that parses every file with an
extension identified in the .conf files. (In Red Hat 9/Apache 2.0,
that's the php.conf file included in httpd.conf. In earlier versions
of Apache it's right in httpd.conf itself.)

Maybe? Thanks!
James

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

Reply via email to