I have a Linux machine where I want to install a Web Server. In this machine I want to install the Apache Server and the PHP, but the database is on another machine other than.
(The two machines are visible to each other)
I have congigure an compile the Apache:
Code: Select all
cd ./httpd-2.2.15
./configure --prefix=/my/dir/apache/ --enable-so
make
make installCode: Select all
gzip -d php-5.3.2.tar.gz
tar xvf php-5.3.2.tar
cd ./php-5.3.2
./configure --with-mysql --with-apxs2=/my/dir/apache/bin/apxs
Code: Select all
...
checking whether to enable multibyte regex support... yes
checking whether to check multibyte regex backtrack... yes
checking for external libmbfl... no
checking for external oniguruma... no
checking for mcrypt support... no
checking for MSSQL support via FreeTDS... no
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
configure: error: Cannot find MySQL header files under yes.
Note that the MySQL client library is not bundled anymore!
thanks very much