I am tring to install curl. I have left clicked the icon in the tray PHP>PHP Settings>php_curl It is checked i checked the ini file and curl is enabled i restarted apache my machine and i still get
Fatal error: Call to undefined function curl_init()
when i try to use curl.
I downloaded the most current available version of php wampserver offers but it will not work.
I checked the file and curl is uncommented but still not available. i also have openssl uncommented but getting (Unable to find the socket transport "https" - did you forget to enable it when you configured PHP?)
this is my output when i do php -m in the console. what the heck am i missing. it seems i can't install anything.
Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Administrator>php -m [PHP Modules] bcmath calendar com_dotnet ctype date dom filter ftp gd hash iconv json libxml mbstring mysql mysqli odbc pcre PDO pdo_mysql Reflection session SimpleXML SPL SQLite standard tokenizer wddx xml xmlreader xmlwriter Zend Optimizer zlib
I don't see curl? It's fine saying go ahead and use it but if it's not installed to begin with....
EDIT no it's there in the ext folder, I simply checked it in the extensions list - left click on tray icon, php, extensions - restarted all services and curl seems to be working fine.
hth
Edited 1 time(s). Last edit at 08/28/2008 08:44PM by gedq.
I also encountered the same problem. And I fixed it. I just added a picture also to explain how to open the PHP.ini. So you can check my post in the following URL.