compile php 5.3.2

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
jmgm
Forum Newbie
Posts: 1
Joined: Mon Apr 26, 2010 3:52 am

compile php 5.3.2

Post by jmgm »

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:

Code: Select all

cd ./httpd-2.2.15
./configure --prefix=/my/dir/apache/ --enable-so

make

make install
After that, I have try to install (configure and compile) the PHP:

Code: 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
But the ./configure does not succeed. tells me this error

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!
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
thewebhostingdir
Forum Newbie
Posts: 18
Joined: Fri Jul 17, 2009 1:15 am

Re: compile php 5.3.2

Post by thewebhostingdir »

Kindly refer to below mentioned URL which might helps you to solve your issue:

http://www.linuxquestions.org/questions ... es-230651/
AccuWebHosting.Com - Windows VPS Hosting
ASP.NET 3.5 | SQL 2005 Database | US Based Hosting Company | 24 X 7 Support | Daily Backups | Uptime Guarantee | Affiliates - $50 Per Sale |
Brick7.com | TheWebHostingDir.com
Post Reply