Hi, I am trying to compile PHP(5.2.1) with mysql option on a RHAS 4 U4 on x86_64.
I have installed mysql(5.0.33) from source and mysql works. I was able to connect to the server and put schema on mysql. Here is my configure option for php: ../configure --with-mysql=/mysql-server --enable-track-vars --with-gd --with-jpeg-dir=/libjpeg --with-zlib-dir=/zlib --with-apxs2=/apache/bin/apxs --prefix=/php --with-libxml-dir=/libxml2 --with-png-dir=/libpng When I do make, I got this error message: /php/php-5.2.1/ext/mysql/php_mysql.c: In function `zm_info_mysql': /php/php-5.2.1/ext/mysql/php_mysql.c:456: error: `PHP_MYSQL_TYPE' undeclared (first use in this function) /php/php-5.2.1/ext/mysql/php_mysql.c:456: error: (Each undeclared identifier is reported only once /php/php-5.2.1/ext/mysql/php_mysql.c:456: error: for each function it appears in.) /php/php-5.2.1/ext/mysql/php_mysql.c:458: error: `PHP_MYSQL_INCLUDE' undeclared (first use in this function) /php/php-5.2.1/ext/mysql/php_mysql.c:459: error: `PHP_MYSQL_LIBS' undeclared (first use in this function) make: *** [ext/mysql/php_mysql.lo] Error 1 Just would like to know if anybody have an idea ? Thanks for your help.