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

From: Date: Sat, 26 Feb 2005 02:31:54 +0000
Subject: Re: installing BOTH php-cli and php-cgi at the same time
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-15779@lists.php.net to get a copy of this message
Edward Peschko wrote:
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
I'm not 100% certain but I dont think you can build the apache module and the cgi at the same time (I've never tried it), its generally one or the other. Building the cli and the cgi together is not an issue. -- Brad Kowalczyk Web Developer www.ibiscode.com

« previous php.install (#15779) next »