Unable to run curl on on Ubuntu11.10
        Posted  
        
            by 
                ryy
            
        on Ask Ubuntu
        
        See other posts from Ask Ubuntu
        
            or by ryy
        
        
        
        Published on 2012-12-11T21:30:07Z
        Indexed on 
            2012/12/11
            23:15 UTC
        
        
        Read the original article
        Hit count: 326
        
I ran :
sudo apt-get install curl libcurl3 libcurl3-dev php5-curl
Put:
extension=php_curl.so
in both /etc/php5/cli/php.ini and /etc/php5/apache2/php.ini
But running php from the command line gives me the following error:
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/lib/php5/20090626+lfs/php_curl.so' - /usr/lib/php5/20090626+lfs/php_curl.so:     
cannot open shared object file: No such file or directory in Unknown on line 0
Running the install commands again tells me that everything is already the newest version.
Running:
locate php_curl.so
Returns nothing.
© Ask Ubuntu or respective owner