waddledoo Posted December 7, 2011 Share Posted December 7, 2011 Fatal error: Call to undefined function curl_init() in C:\(etc etc...) Now I know the usual causes for a problem like this, but they are not solving anything. Yes, extension=php_curl.dll is uncommented in the php.ini file. Yes, phpinfo() displays the php.ini file I have been editing as the Loaded Configuration File. Yes, extension_dir is set correctly in my php.ini file (other extensions work). Yes, php_curl.dll exists in my ext/ folder. No, phpinfo() does not display anything about cURL, anywhere Where else can I look to possibly fix this? Quote Link to comment https://forums.phpfreaks.com/topic/252643-function-not-found/ Share on other sites More sharing options...
blacknight Posted December 7, 2011 Share Posted December 7, 2011 have you restarted the web server? is this the MAIN config file for your server? Quote Link to comment https://forums.phpfreaks.com/topic/252643-function-not-found/#findComment-1295194 Share on other sites More sharing options...
waddledoo Posted December 7, 2011 Author Share Posted December 7, 2011 I have restarted the server several times, and my computer aswell. Under phpinfo(): Configuration File (php.ini) Path C:\Windows Loaded Configuration File C:\PHP\php.ini So it would appear yes, this is the config file; unless there it is displayed somewhere else, but disabling other extensions such as mysqli in the file I am using effects the server. Is it possible the .dll file for curl is broken? EDIT: After some further research into the cURL dll file, I found out it uses two other dll files (libeay32 and sslea32), and it was suggested that they be copied into the C:\Windows folder. After doing this, all cURL functions are running, and cURL is appearing in my phpinfo() Quote Link to comment https://forums.phpfreaks.com/topic/252643-function-not-found/#findComment-1295200 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.