PHP 4.2.1 CLI install problem
| From: | Aaron McBride | Date: | Wed, 05 Jun 2002 00:20:23 +0000 |
| Subject: | PHP 4.2.1 CLI install problem | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-7224@lists.php.net to get a copy of this message | ||
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