RE: installing curl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: Ashley Sheridan [mailto:ash@xxxxxxxxxxxxxxxxxxxx]
> Sent: Wednesday, February 11, 2015 12:22 AM
> To: hadi
> Cc: php-general@xxxxxxxxxxxxx
> Subject: Re:  installing curl
> 
> 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)

im getting this error 

PHP Warning:  PHP Startup: Invalid library (maybe not a PHP library) '/root/php-5.6.5/ext/curl/modules/curl.so' in Unknown on line 0
Warning: PHP Startup: Invalid library (maybe not a PHP library) '/root/php-5.6.5/ext/curl/modules/curl.so' in Unknown on line 0

I have compiled curl extension like this 

phpize 
./configure 
make
make install  




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php






[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux