|
安装MySQL的rpm安装包
MySQL-client-community-5.0.45-0.rhel4.i386.rpm
MySQL-server-community-5.0.45-0.rhel4.i386.rpm
MySQL-shared-community-5.0.45-0.rhel4.i386.rpm
安装完Apache2.0.53和MySQL后,
[root@localhost php-5.2.3]# ./configure --with-apxs2=/home/wiki/apache2/bin/apxs --with-mysql
或者
[root@localhost php-5.2.3]# ./configure --with-apxs2=/home/wiki/apache2/bin/apxs --with-mysql=/var/lib/mysql
都配置不能通过:
checking for MySQL UNIX socket location... /var/lib/mysql/mysql.sock
configure: error: Cannot find MySQL header files under yes.
Note that the MySQL client library is not bundled anymore!
[root@localhost php-5.2.3]# ls /var/lib/mysql/
ibdata1 ib_logfile0 ib_logfile1 localhost.localdomain.err localhost.localdomain.pid mysql mysql.sock test
大家遇到过没有 |
|