Hello,
Last week, I installed PHP 5.2.1 on a Redhat Advanced Server Update 4
but 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@xxxxxxxxx> wrote in message
news:45f69e28.7f388543.4c8a.fffff4c0@xxxxxxxxxxxxxxxx
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.=
[Index of Archives]
[PHP Users]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[Postgresql]
[PHP Books]
[PHP Databases]
[PHP SOAP]