Compile error with MySQL/PHP

G

Guest

Guest
When I use the following to compile PHP:

#./configure --with-mysql=/usr/local/mysql \
>--with-apxs=/usr/local/apache/bin/apxs

I get the following error:

checking for type uint... yes
checking for type ushort... yes
checking for int8... no
checking base type of last arg to accept... socklen_t
checking return type of qsort... void
checking for mysql_close in -lmysqlclient... no
checking for mysql_errno in -lmysqlclient... no
configure: error: Try adding --with-zlib-dir=<DIR>. Please check config.log for more information.

Any help would be greatly appreciated.
 
see this
http://www.php.net/manual/en/install.configure.php
and check all path and libs....
 
The idea was simple.
I was on that situation before. The problem could be the corrupted MySql, or beta release or Kernel.
What i did was. I redo the installation, means delete all folder related to PHP apache and MySQL. Then reinstall..Make don't copy and paste from the installation manual. Try to type it one by one
 
Pakcik_Kantin said:
The idea was simple.
I was on that situation before. The problem could be the corrupted MySql, or beta release or Kernel.
What i did was. I redo the installation, means delete all folder related to PHP apache and MySQL. Then reinstall..Make don't copy and paste from the installation manual. Try to type it one by one
Actually all info oyu may get from forum at php.net
 
EchoX said:
i try to use diffirent version PHP and mysql but the result is the same. i dont no what to do. help me.
If you think what is problem in kernel rebuild them
 
Back
Top