apache 2 with php5 and mysql5
Hi,
Am trying to install mysql-standard-5.0.22-linux-i686-glibc23.tar.gz httpd-2.2.2.tar.bz2 php-5.1.6.tar.gz mysql was installed with no errors same as for apache and while compiling php5 in the configure step (below is the configure syntax am inserting) ./configure --prefix=/usr/local/apache2 --enable-so --enable-rewrite --enable-speling --enable-ssl --enable-unique-id --enable-usertrack --enable-deflat --enable-expires --enable-auth-anon --enable-auth-dbm --enable-auth-digest --enable-logio --enable-mime-magic --enable-modules=most --enable-headers --enable-info --enable-v4-mapped && echo done-conf while it is configuring it stops and gives the following error: checking for mysql_close in -lmysqlclient... no checking for mysql_error in -lmysqlclient... no configure: error: mysql configure failed. Please check config.log for more information. [root@myeasyroots php-5.1.6]# Linux myeasyroots 2.6.17-1.2174_FC5 #1 Tue Aug 8 15:30:55 EDT 2006 i686 i686 i386 GNU/Linux Linux, Redhat, Fedora5 is the operating system am working on. If anyone can help me fix this error would be very thanksfull. |
This is strange since you don't use --with-mysql in your ./configure options. Anyway to add mysql support you must add:
Code:
–with-mysqli=/path/to/mysql/bin/mysql_config Regards |
All times are GMT -5. The time now is 06:12 PM. |