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
--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?
It probably can't find /usr/include/libz.h (and friends)
Use
2 matches
Mail list logo