------------ Original Message ------------ > Date: Tuesday, February 10, 2015 21:22:07 +0000 > From: Ashley Sheridan <ash@xxxxxxxxxxxxxxxxxxxx> > To: hadi <almarzuki2011@xxxxxxxxxxx> > Cc: php-general@xxxxxxxxxxxxx > > On Wed, 2015-02-11 at 00:13 +0300, hadi wrote: >> Hi, >> >> I have php 5.6.5 on centos 4.5 64bit. >> Im unable to install curl. And generate so file. >> I have tried all the possibilities. >> >> I have tried this command:- >> ./configure --with-curl=/root/php-5.6.5/ext/curl/libs --with-mysql >> --with-mysqli --with-apxs2=/usr/local/apache2/bin/apxs >> > > Hi Hadi, > > As you're compiling from source it's possible that you don't have > the source header files for cURL installed. I don't know what > platform you're building this on but it looks like Linux. Which > distro, and is there any reason why you're compiling from scratch > and not using the repositories to build for you? > > You also didn't mention what error message you're getting (which > you presumably would if you're unable to install cURL when you > compile PHP) > Yes, why are you trying to install this from source rather than the centos repository? More importantly, why are you using centos 4.5? RHEL/Centos 4 was EOL (end of life), i.e., no longer getting even security updates, as of early 2012. Additionally, if your system was held at 4.5 (rather than updating through 4.9), then you last installed updates in 2007. If you are only using this system totally off-line or on a secure internal network, then I assume you have some reason to have not updated. If you have it connected to the internet (directly or indirectly) you are leaving yourself (and your network) wide open to all manner of security issues (and should unplug it now). I would strongly suggest that you update your system to Centos 6 (which will have full updates for another 2 years and maintenance for 3 years after that) or 7, if you want to be totally current. [if you're running your system off-line, you may want to look at http://vault.centos.org for the appropriate .rpm files.] - Richard -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php