Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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.

Loading...