PHP 5.5.17 - Fatal error: Call to undefined function curl_init()
For PHP 5.5.17, if you have to config your php.ini manually and you found the problem "Fatal error: Call to undefined function curl_init()".
Your solution is:
1. Open your php.ini (in you php folder ex. c:\php)
2. Find ";extension=php_curl.dll"
3. Remove ";" and save
4. Restart your Apache Server
But!!! If you run PHP 5.5.17 with Apache Server on Windows 7, the solution above may be not work. I found this solution from Bug #68047 the curl extension doesn't load using apache and the conclusion is you have to add "c:\php" into system's path and your problem is gone.
1. Go to My Computer -> Right click -> Properties
2. In left menu -> Choose -> Advanced system settings
3. Go to Advanced Tab -> Environment Variables -> System variables
4. Find "Path" Variable and add c:\php at the end
Your solution is:
1. Open your php.ini (in you php folder ex. c:\php)
2. Find ";extension=php_curl.dll"
3. Remove ";" and save
4. Restart your Apache Server
But!!! If you run PHP 5.5.17 with Apache Server on Windows 7, the solution above may be not work. I found this solution from Bug #68047 the curl extension doesn't load using apache and the conclusion is you have to add "c:\php" into system's path and your problem is gone.
1. Go to My Computer -> Right click -> Properties
2. In left menu -> Choose -> Advanced system settings
3. Go to Advanced Tab -> Environment Variables -> System variables
4. Find "Path" Variable and add c:\php at the end