Re: installing curl
| From: | Ashley Sheridan | Date: | Tue, 10 Feb 2015 21:22:07 +0000 |
| Subject: | Re: installing curl | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-324430@lists.php.net to get a copy of this message | ||
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
>
>
> Thanks and regards
>
>
>
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)
--
Thanks,
Ash
http://www.ashleysheridan.co.uk