compile php 5.3.2
Posted: Mon Apr 26, 2010 4:07 am
Hi,
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:
After that, I have try to install (configure and compile) the PHP:
But the ./configure does not succeed. tells me this error
How do I have to do the configuration of PHP with the database on a different machine? (The MySQL database is already installed)
thanks very much
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