CGi VERSION of PHP
I'm trying to get suphp running on my fedora core2 based webhosting server. I need suphp because I need the php scripts to be executed by the users uid/gid so that they can create files etc...I'm stumped on the fact that I just can't get php to compile the cgi binary of php the configure line that I used is below...
'./configure' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--prefix=/usr' '--with-config-file-path=/etc' '--enable-force-cgi-redirect' '--disable-debug' '--enable-pic' '--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-curl' '--with-dom=/usr' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd' '--enable-gd-native-ttf' '--with-ttf' '--with-gettext' '--with-ncurses' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-regex=system' '--with-xml' '--with-expat-dir=/usr/local' '--with-zlib' '--with-layout=GNU' '--enable-bcmath' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-discard-path' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--without-oci8' '--with-pear=/usr/share/pear' '--with-mysql' '--with-pgsql' '--enable-bcmath' '--enable-shmop' '--enable-versioning' '--enable-calendar' '--enable-dbx' '--enable-dio' '--enable-mcal' '--with-apxs2=/usr/local/apache2/bin/apxs' '--enable-mbstring' '--with-pdflib' '--with-imap=/usr/local' '--enable-pcntl' '--enable-cli=${PREFIX}' '--enable-cgi=${PREFIX}/www/'
As you see I am trying to install both the cli version of php and the cgi version of php. However whenever I look in the sapi/cgi directory the cgi binary of php is not there!!!
The version of php I am trying to compile is php-4.3.7...
I am stumped and probably have missed out on somehting. I desperetely need someone to tell me where I went wrong.