I'm trying to install PHP on my Linux box as both a Apache module and as a CLI.

Here's the config I'm using:
'./configure' '--enable-cli' '--with-apxs=/usr/sbin/apxs' '--prefix=/usr' 
'--with-config-file-path=/etc' '--disable-debug' '--enable-pic' 
'--enable-shared' '--enable-inline-optimization' '--with-exec-dir=/usr/bin' 
'--with-regex=system' '--with-gettext' '--with-gd' '--with-jpeg-dir=/usr' 
'--with-png' '--with-zlib' '--with-db3' '--with-gdbm' '--with-pspell' 
'--enable-debugger' '--enable-magic-quotes' '--enable-safe-mode' 
'--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' 
'--enable-track-vars' '--enable-yp' '--enable-ftp' '--enable-wddx' 
'--with-mysql=/usr' '--without-oracle' '--without-oci8' '--with-xml'

It looks like the install goes fine, except that it doesn't create the 
executable file "/usr/bin/php".
I did find a file in "/php-4.2.1/sapi/cli/" but if I use it, I get a bunch 
of errors.

I understand that the CLI version is still Experimental until 4.3.0, but I 
really need php to work both from the command line, and from within 
Apache.  I was able to do it with version 4.0.6, so I'm getting pretty 
frustrated that it seems like this newer version is less functional.

Any help would be greatly appreciated.

-Aaron

LINK:
http://www.php.net/manual/en/features.commandline.php


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to