|
|
小弟现在有两台机器,都安装CENTOS 5.1,假设为PC1和PC2,我想在PC1上安装APACHE+PHP,把MYSQL安装在PC2上。我已经在PC1上编译安装了APACHE,PC2上安装好了MYSQL,现在想在PC1上安装PHP,源代码编译,需要哪些选项才能让PC1上的PHP连上PC2的MYSQL。编译安装提示
#./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs >>/dev/null
configure:error:Cannot find MySQL header files under yes.
Note that the MySQL client library is not hundled anymore!
安装Mysql就可以了么?这个包不包涵server吧? |
|