installing BOTH php-cli and php-cgi at the same time

From: Date: Thu, 24 Feb 2005 22:09:45 +0000
Subject: installing BOTH php-cli and php-cgi at the same time
Groups: php.install 
Request: Send a blank email to php-install+get-15775@lists.php.net to get a copy of this message
hey all, I've got a bit of a conundrum - I want to install *both* php-cli and php-cgi at the same time, but am running into 'issues'. However, this doesn't seem possible with php-5.03. I configure with: ./configure --prefix=<prefix> --with-libxml-dir=<prefix> --with-apxs=<prefix>/bin/apxs --with-mysql=<prefix> --with-config-file-path=<prefix> --with-zlib --with-gettext --enable-libgcc --with-readline=<prefix> --enable-cgi BUT the make process only creates a cli version of php. I can still use the php I've built with apche (because it creates a module, libphp5.so and installs it in the libexec directory, but no cgi build. I'd like to be able to have the cli version of php installed as <prefix>/bin/php-cli, and the cgi version of php installed as <prefix>/bin/php, so I could use both at the same time. Is that too much to ask? Is there a way to do this? Ed

« previous php.install (#15775) next »