what am I doing wrong??? Compiling PHP as a CGI for Apache...
Hi All,Im wondering if someone can help me out with this problem im having...
Okay php and apache was working fine Server API was Apache but I want the Server API to be CGI. As in PHP running as a cgi!
Here is the compile stuff:
Code:
cd /usr/src/ rm apache_1.3.27 -rf tar xzvf apache_1.3.27.tar.gz cd apache_1.3.27 wget ftp://ftp.rtr.com/pub/fp-patch-apache_1.3.22.Z gunzip fp-patch-apache_1.3.22.Z patch -p0 < fp-patch-apache_1.3.22 cp mod_frontpage.c src/modules/extra/ ./configure \ --enable-module=expires \ --enable-module=headers \ --enable-module=log_agent \ --enable-module=log_referer \ --enable-module=usertrack \ --enable-module=vhost_alias \ --enable-module=rewrite \ --enable-module=so \ --add-module=mod_frontpage.c \ --enable-suexec \ --suexec-caller=nobody \ --suexec-docroot=/ \ --suexec-userdir=public_html make make install cd /usr/src rm php-4.3.2 -rf tar -zxvf php-4.3.2.tar.gz cd php-4.3.2 ./configure \ --with-apxs=/usr/local/apache/bin/apxs \ --enable-force-cgi-redirect \ --with-exec-dir=/usr/bin \ --with-ttf=/usr/lib/libttf.so \ --with-gd \ --with-regex=system \ --with-zlib-dir= \ --with-ldap \ --with-xslt-sablot \ --enable-ftp \ --with-db \ --with-mysql \ --enable-xml \ --enable-xslt \ --enable-sockets \ --with-imap=/usr/local/imap-2000c1/ \ --with-imap-ssl=/usr/include/openssl/ \ --enable-safe-mode \ --enable-magic-quotes \ --enable-track-vars \ --disable-debug make make install
What else do i need to do? Or what do i need to change?
Thanks in advance!