On Sun, 2 Dec 2007, Andrew Peterson wrote:
To: php-install@xxxxxxxxxxxxx
From: Andrew Peterson <gretschdrummer@xxxxxxxxx>
Subject: Installing with CLI
I'm hoping someone can help me out. I'm trying to instal PHP 5.2.5 on OS
X Leopard with Apache 2x and MySQL 5x
Here's the config command I use:
./configure
--prefix=/usr/local/php5.2.5
--with-apxs2=/usr/local/apache2/bin/apxs
--with-openssl
--with-curl
--with-curlwrappers
--enable-exif
--with-gd=/usr/local
--enable-mbstring
--with-mysql=/usr/local/mysql
--with-mysql-sock=/tmp
--with-pspell=/usr/local
--enable-soap
--with-snmp
--with-jpeg-dir=/usr/local
--with-png-dir=/usr/local
--with-freetype-dir=/usr/local
--with-pear
--enable-cli
Everything seems to configure, make, and make install fine. However,
when I got to /usr/local/php5.2.5/bin, the php command is not there.
Any ideas?
Do you have any error messages at all?
If you want to use php as a CLI script interpreter you will
also need to add the '--with-readline' option to configure.
Otherwise php will execute scripts OK, but you will not be
able to use php as an interactive interpreter for debugging
single lines of php code, like a BASIC interpreter for
example.
Regards
Keith Roberts
[Index of Archives]
[PHP Users]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[Postgresql]
[PHP Books]
[PHP Databases]
[PHP SOAP]