I am trying to install PHP v5.2.5 on Redhat ES 3 but I keep receiving this error during the build configuration:
Here is how I am configuring PHP for the build:
I installed this version of MySQL:
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
checking for mysql_close in -lmysqlclient... yes
checking for MySQLi support... yes
checking whether to enable embedded MySQLi support... no
checking for mysql_set_server_option in -lmysqlclient... yes
checking for mysql_stmt_field_count in -lmysqlclient... yes
...snip...
checking for MySQL support for PDO... yes
checking for mysql_config... not found
configure: error: Cannot find MySQL header files under
Here is how I am configuring PHP for the build:
Code:
./configure --with-apxs=/usr/local/apache/bin/apxs \
--with-mysql=/usr/local/mysql \
--with-mysqli=/usr/local/mysql/mysql_config \
--with-zlib \
--enable-bcmath \
--with-bz2 \
--with-curl \
--with-curlwrappers \
--enable-exif \
--enable-ftp \
--with-gd \
--with-ttf \
--enable-gd-native-ttf \
--enable-mbstring \
--with-mcrypt \
--with-mhash \
--with-ncurses \
--enable-pcntl \
--with-pdo-mysql \
--with-pdo-pgsql \
--with-pgsql \
--with-mm \
--enable-soap \
--enable-sockets \
--enable-sqlite-utf8 \
--enable-sysvmsg \
--enable-sysvsem \
--enable-sysvshm \
--with-xmlrpc \
--with-xsl \
--enable-zip \
--with-pear \
--enable-zend-multibyte
I installed this version of MySQL:
mysql-5.0.45-linux-i686.tar.gz