In my PHP file I have a line which checks that the curl extension is loaded:
if (!extension_loaded('curl')) { trigger_error("Curl Extension not loaded", E_USER_ERROR); die(); }
On Friday, everything was working normally. Today when I attempted to run the file, I get my error message:
Fatal error: Curl Extension not loaded in /usr/share/pear/jsinfo.class.php on line 23
Blockquote
I’ve tried reinstalling both cURL and the PHP cURL extension. I’ve restarted the httpd service and also rebooted the server. Nothing has fixed this problem. This is on Fedora 15.
Any ideas as to what could have happened/how I can fix this?
Look for the extension directive for curl in the php.ini.
There should be something like