Posted by Kris on 02/24/05 22:29
Hello,
I have PHP5 running but wanted to recompile for mysql support.
../configure --prefix=/usr/local/php5
--with-apxs2=/usr/local/apache2/bin/apxs --with-libxml-dir=/usr/lib
--with-mysql=/usr/local/mysql
it complained about libz so I added --with-zlib-dir as:
../configure --prefix=/usr/local/php5
--with-apxs2=/usr/local/apache2/bin/apxs --with-libxml-dir=/usr/lib
--with-mysql=/usr/local/mysql --with-zlib-dir=/usr/lib
And so configure errors out on "Cannot find libz"
my /usr/lib contains:
zlib.so, libz.so.1 ..
Can anyone tell me what I need to do on my ./configure to get rolling?
This PHP is currently running with Apache2.. I am running MySQL5 as
well.. my working PHP install was configured using the first configure
statement in this email minus --with-mysql.. working just fine....
Thanks
Kris
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.4.0 - Release Date: 2/22/05
Navigation:
[Reply to this message]
|