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

Reply via email to