Installing php(suexec) for Apache

Posted by John on Server Fault See other posts from Server Fault or by John
Published on 2011-01-17T21:33:14Z Indexed on 2011/01/17 21:54 UTC
Read the original article Hit count: 242

Filed under:
|
|
|

I've got Apache installed and running but how do i install and run PHP as fastcgi so it runs as its own user?

here is my apache config:

./configure --prefix=/usr/local/apache2 --enable-rewrite=shared --enable-so --enable-suexec --disable-asis --disable-autoindex --enable-cache --enable-deflate --enable-disk-cache --enable-expires --enable-file-cache --enable-mem-cache --enable-ssl --enable-vhost-alias --with-mpm=prefork --with-port=8080

here is my php config:

./configure prefix=/usr/local/php --without-pear --enable-safe-mode --enable-magic-quotes --with-apxs2=/usr/local/apache2/bin/apxs --disable-cli --disable-cgi --enable-force-cgi-redirect --enable-fastcgi --with-mysql --with-gd --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-freetype-dir=/usr/lib --enable-calendar --with-curl --enable-mbstring --with-mcrypt

© Server Fault or respective owner

Related posts about apache

Related posts about php