curl not working
Posted by: elygen (---.nwrknj.fios.verizon.net)
Date: August 07, 2008 05:33AM

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.

Some one please help me.

Thanks
Todd

Options: ReplyQuote
Re: curl not working
Posted by: stevenmartin99 (193.120.116.---)
Date: August 07, 2008 11:57AM

thre php.ini file is stored in c:/wamp/bin/apache/apache2.2.6/bin and not in php folder as ud expect smiling smiley

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: curl not working
Posted by: elygen (208.46.152.---)
Date: August 08, 2008 04:35AM

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

[Zend Modules]
Zend Extension Manager
Zend Optimizer

Thanks

Options: ReplyQuote
Re: curl not working
Posted by: elygen (---.nwrknj.fios.verizon.net)
Date: August 09, 2008 06:21AM

so i reinstalled wamp and it works except now i get forbidden access trying to access phpmyadmin. what now?

Options: ReplyQuote
Re: curl not working
Posted by: gedq (---.opaltelecom.net.211.13.84.in-addr.arpa)
Date: August 28, 2008 08:31PM

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.

Options: ReplyQuote
Re: curl not working
Posted by: robint84 (196.29.161.---)
Date: July 31, 2010 01:20PM

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.

[www.robinthomas.in]

Options: ReplyQuote


Sorry, only registered users may post in this forum.