Re: PHP4 + Apache 1.3.14 + mysql 3.22.32 on HPUX 11.00

From: Date: Wed, 29 Nov 2000 22:10:19 +0000
Subject: Re: PHP4 + Apache 1.3.14 + mysql 3.22.32 on HPUX 11.00
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-993@lists.php.net to get a copy of this message
Anthony Galan wrote:
Getting the following error while compiling PHP4 with mysql support: configure: error: Cannot find header files under /usr/local/include/mysql Here are the options I am passing to the configure script: ../configure --with-mysql=/usr/local/include/mysql --with-apxs=/opt/apache/bin/apxs The mysql path above points to the mysql header directory which is what php is looking for... right? Not sure if my non standard installation of mysql is causing the problem but here's what it looks like. /usr/local/include/mysql = header files /usr/local/var/ = databases /usr/local/libexec = mysqld /usr/local/lib/mysql = libraries /usr/local/bin = binaries Any clues? Thanks in advance -- Regards, Tony Galan Hewlett Packard
Hi, you should try --with-mysql=/usr/local which is enough : you don't need to provide full path to the headers because the configuration is looking for a mysql directory under the include directory. bye. Olivier.


« previous php.install (#993) next »