Re: PHP error about mysql when compiling PHP 5.2.1 on x86_64
| From: | Jean Lavenant | Date: | Tue, 13 Mar 2007 17:34:13 +0000 |
| Subject: | Re: PHP error about mysql when compiling PHP 5.2.1 on x86_64 | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-17916@lists.php.net to get a copy of this message | ||
Hi
I tried to use a old version of PHP(5.1.6) or PHP (4.4.6) but I have
still the same issue.
Cheers
Jean
On 3/13/07, Haydar Tuna <haydartuna@yahoo.com> wrote:
Hello,Last week, I installed PHP 5.2.1 on a Redhat Advanced Server Update 4but I faced some problems. I didn't finish PHP 5.2.1 installation and then I installed PHP 5.1.6 . I didn't face any problems. Try to install previous version of PHP 5 :) -- Haydar TUNA Republic Of Turkey - Ministry of National Education Education Technology Department Ankara / TURKEY Web: http://www.haydartuna.net "Lavenant" <jlavenant@gmail.com> wrote in message news:45f69e28.7f388543.4c8a.fffff4c0@mx.google.com... 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.=