Hi,
I have compile php and curl on my server.
When i run phpinfo() on my on browser it does not show the curl is enable.
When i run from the command line it shows curl is enable.
Here is the command:
/opt/php -r "phpinfo();"
I have also created /usr/bin php as symlink
I have also compiled php --with-curl=[curl path] as static not as shared.
What I am missing?
Thanks in advance.
I have installed curl:
sudo apt-get install curl libcurl3 libcurl3-dev php5-curl
and I have updated my php.ini file to include(I also tried .so):
extension=php_curl.dll
To test if curl is working I created a file called testCurl.php which contains the following:
<?php
echo ‘<pre>’;
var_dump(curl_version());
echo ‘</pre>’;
?>
When I navigate to localhost/testCurl.php I ge
I am using the curl version 7.21.0. When I try the curl command from command like, things works fine for the http sites. But when I try https I get certificate error. I have source compiled curl with latest OpenSSL. I have also tried downloading the latest certificate bundle. With the same version of curl, same version of openssl with same certificate file I can get it work on the linux.
I have a big problem. I have just upgraded to a new dedicated server running Plesk 10, and Ubuntu 11.04 and my scripts can't run file_get_contents or curl to external urls in cgi mode.
Introduction
While trying to install purge module, in my Drupal site, I got this error while trying to enable the module.
Unable to load dynamic library '/usr/lib/php/modules/curl.so'
That was in my /var/log/messages file.
Unable to load dynamic library '/usr/lib/php/modules/curl.so' | How to solve it
First install the php-curl package, (This is only meant for Arch Linux)
pacman -S php-curl
The
I'm trying to install the Amazon Web Services PHP SDK on my Ubuntu LAMP server. Whenever I run the compatibly check everything but cURL comes back okay. The issue I'm having is that it's reporting I don't have cURL with SSL. I uninstalled curl then installed curl-ssl with no avail.
Recently, accessing last.fm causes mpd to stop responding. The only debug info I can find in the log is simply:Oct 20 22:08 : decoder_thread: curl failed: The requested URL returned error: 403 Forbidden
Oct 20 22:08 : decoder_thread: curl failed: The requested URL returned error: 403 Forbidden
Oct 20 22:08 : decoder_thread: curl failed: The requested URL returned error: 403 Forbidden
Oct 20
I have installed curl-7.27.0 and it is working fine how ever it is not working is run below command to find whether it is now, but it showed that :
Result of the command curl -V
root@ubuntu:~/curl-7.27.0# curl -V
curl 7.21.6 (i686-pc-linux-gnu) libcurl/7.21.6 OpenSSL/1.0.0e zlib/1.2.3.4 libidn/1.22 librtmp/2.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap pop3 pop3s rtmp
Hi All,
I am using curl command to issue a request to server(web.py). Till Now I was not facing any problem. But when the server takes lot of time to respond, Curl exits with "curl: (52) Empty reply from server" error.