I have uncommented the appropriate line in php.ini at j:/php-4.4.2/php.ini-dist and at c:/windows/php.ini-dist as well. I do not really know to which file I should make the change.
Code: Select all
;Windows Extensions
;Note that MySQL and ODBC support is now built in, so no dll is needed for it.
;
;extension=php_mbstring.dll
extension=php_bz2.dll
;extension=php_cpdf.dll
;extension=php_crack.dll
extension=php_curl.dll
;extension=php_db.dll
;extension=php_dba.dll
;extension=php_dbase.dllCode: Select all
; Directory in which the loadable extensions (modules) reside.
extension_dir = "j:/php-4.4.2/extensions"j:/curl/libcurl-7.15.1
I have restarted the Apache after I made the change to the ini file
But this is the error message when I run a curl command.
Code: Select all
echo curl_version();
Fatal error: Call to undefined function: curl_version() in j:\apache\apache\htdocs\test\timediff.php on line 20