FS#22816 - Php method "curl_init()" didn't automagically work after installing "php-curl"
Attached to Project:
Arch Linux
Opened by Petter Berntsen (petter) - Tuesday, 08 February 2011, 12:12 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 08 February 2011, 13:20 GMT
Opened by Petter Berntsen (petter) - Tuesday, 08 February 2011, 12:12 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 08 February 2011, 13:20 GMT
|
Details
Description:
I installed "php", got an error in the amazon php library: PHP Fatal error: Call to undefined function curl_init() in /home/arch/AWSSDKforPHP/lib/requestcore/requestcore.class.php on line 702 I then installed "curl", got the same error. Installed "php-curl" but still same error. So i uncommented /etc/php/php.ini#944 to "extension=curl.so" and it works. Additional info: * package version(s) php-curl-5.3.5-1 php-5.3.5-1 curl-7.21.3-1 * config and/or log files etc. /etc/php/php.ini Steps to reproduce: 1. Most likely any program that uses the method 'curl_init()', i.e: git clone git://github.com/amazonwebservices/aws-sdk-for-php.git AWSSDKforPHP 2. Install php 3. Install curl 3. Install php-curl 4. Run some code that uses this method, i.e: $s3 = new AmazonS3(); $buckets = $s3->get_bucket_list(); |
This task depends upon
Closed by Jan de Groot (JGC)
Tuesday, 08 February 2011, 13:20 GMT
Reason for closing: Not a bug
Additional comments about closing: Configuration is up to the system administrator.
Tuesday, 08 February 2011, 13:20 GMT
Reason for closing: Not a bug
Additional comments about closing: Configuration is up to the system administrator.