For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > December 2007 > Installing with CLI









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Installing with CLI
Andrew Peterson

2007-12-03, 4:07 am

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?


Thanks for the help,

Andrew Peterson
Gretschdrummer@gmail.com






Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com