Fatal Error Call To Undefined Function Curl_init In Wamp
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have
Call To Undefined Function Curl_init() Ubuntu
Meta Discuss the workings and policies of this site About Us call to undefined function curl_init() windows Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with
Call To Undefined Function Curl_init() In Php
us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just call to undefined function curl_init() linux like you, helping each other. Join them; it only takes a minute: Sign up Call to undefined function curl_init() error in wamp 2.2 up vote 29 down vote favorite 9 I am having below error when I try to implement google and facebook authentication in windows 7 using wamp server. Fatal error: Call to undefined function curl_init() call to undefined function curl_init() in codeigniter in E:\wamp\www\mysite\protected\extensions\eauth\EAuthServiceBase.php on line 273 I am using, wampserver 2.2 php version 5.3.13 I have enabled php_curl module as well. I checked in php.ini for confirm and it is uncommented as below. ;extension=php_bz2.dll extension=php_curl.dll ;extension=php_dba.dll The code has worked in ubuntu with xampp, but not in wamp in windows. I have done everything I can find. I have tried replacing the php_curl.dll also according to the comment on this thread, Call to undefined function curl_init() - with WAMP My phpinfo() looks like below. I have installed wamp in the partition E:\, but the "Configuration File (php.ini) Path" seems different, it is C:\Windows. Please help me to fix the issue. php curl wamp wampserver share|improve this question edited Sep 12 '12 at 3:55 asked Sep 12 '12 at 3:04 Shakeel 2181412 phpinfo() and check that you've modified the right config file –zerkms Sep 12 '12 at 3:06 have you started the php_curl extension –NullPoiиteя Sep 12 '12 at 3:07 @zerkms: thanks
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and
What Is Curl_init
policies of this site About Us Learn more about Stack Overflow the sudo apt-get install php5-curl company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users
Call To Undefined Function Curl_init() Xampp
Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes http://stackoverflow.com/questions/12380670/call-to-undefined-function-curl-init-error-in-wamp-2-2 a minute: Sign up Call to undefined function curl_init().? [duplicate] up vote 165 down vote favorite 23 Possible Duplicate: curl_init() function not working When i am going to implement Authorize.net payment gateway. However, I got this error: Call to undefined function curl_init() Please let me know what is wrong in it. php curl share|improve this question edited Jan 23 '14 at http://stackoverflow.com/questions/6382539/call-to-undefined-function-curl-init 18:52 aksu 3,94451434 asked Jun 17 '11 at 7:15 Pramod 3,60051948 marked as duplicate by cwallenpoole, marc_s, codingbadger, Roddy, Graviton Jun 17 '11 at 9:15 This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question. 3 You don't have curl support in your PHP. This question has been asked many times here –Shef Jun 17 '11 at 7:20 @Shef , Why are you linking back to this thread? –Pacerier Jul 16 '15 at 10:35 @Pacerier Please, double verify, because I am quite certain I am linking to a search page and not this "thread". –Shef Jul 16 '15 at 10:37 add a comment| 3 Answers 3 active oldest votes up vote 378 down vote accepted Go to your php.ini file and remove the ; mark from the beginning of the following line: ;extension=php_curl.dll ubuntu 13.0 and above, simply use the debundled package. In a terminal type the following to install it and do not forgot to restart server. sudo apt-get install php-cur
Call to undefined function curl_init() Posted by: allenbrown (---.6-2.cable.virginmedia.com)Date: September 29, 2011 11:50AMTo recap, I am using WampServer 2.1e 32bit on Win7 http://forum.wampserver.com/read.php?2,77923,77925 with Apache 2.2.17 but with PHP 5.2.6 to align with my hosting company.Now trying to run some existing programs, I have http://www.webtechquery.com/index.php/2010/03/fatal-error-call-to-undefined-function-curl_init-windows-and-linux-ubuntu/ hit a curl error. I have made sure php_curl is checked on the list of extensions but I get the error:Fatal call to error: Call to undefined function curl_init() in ...This is a utility program written in PHP so I'm running it from the command line using the path of the php-win.exe in WAMP's folder structure. So Apache isn't involved here.Any suggestions?Options:Reply•QuoteRe: curl - Call to call to undefined undefined function curl_init() Posted by: stevenmartin99 (---.b-ras1.srl.dublin.eircom.net)Date: September 29, 2011 11:56AMmake sure the extention for curl is enabled in php..for websites > left click wamp> php> php.ini> remove ; from ";extention = extension=php_curl.dll"if your using php from the cli then you will need to open the folder >c:\wamp\bin\php\phpX.X.X\php.ini and remove ; from ";extention = extension=php_curl.dll"Restart Wamp after either change.Steven Martinstevenmartin99@gmail.comstevenmartin99@hotmail.comPampServer.com - [pampserver.com]Options:Reply•QuoteRe: curl - Call to undefined function curl_init() Posted by: allenbrown (---.6-2.cable.virginmedia.com)Date: September 29, 2011 12:17PMExcellent Steve - many thanks.The semi-colon was already removed from the php.ini accessible through the WAMP interface but it was still present in c:\wamp\bin\php\phpX.X.X\php.ini. When I removed it, the PHP script ran just fine.Options:Reply•QuoteGo to:Forum List•Message List•Search•Log InSorry, only registered users may post in this forum.Click here to login
any website in Windows or Linux (Ubuntu) like: Fatal error: Call to undefined function curl_init() then here is a simple and easy solution, for both Windows and Linux (Ubuntu) users. For Windows If you are having the error Call to undefined function curl_init() in Windows, then you have to simply modify a line in apache's php.ini file. Goto your wamp folder, which would be like: D:\wamp\bin\apache\apache2.2.6\bin\ And open the file php.ini If you are unbable to find the folder of file as mentioned above, or if you are using some other server in Windows, then simply find the php.ini file located under apache folder (and not php folder), and open it in a text editor. Find the text extension=php_curl.dll and remove the semi-colon at the start. Now that line would look like: extension=php_curl.dll (without semi-colon on start) Save the file, and restart your Apache Server. And the problem is solved. For Ubuntu (Linux) If you are having the error Call to undefined function curl_init() in Ubuntu or Linux, then you have to simply install php5-curl to make this problem resolved. Simply goto: System -> Administration -> Synaptic Package Manager And find the package or software as “php5-curl“ or php curl and install the CURL module for PHP. After successful installation, restart your Apache Server with the following command: sudo /etc/init.d/apache2 restart And the problem is solved. Or Or goto gnome-terminal, and write the following command: sudo apt-get install php5-curl (if php5 is not the latest php version, then find the latest php curl package and install it) After successful installation, restart your Apache Server with the following command: sudo /etc/init.d/apache2 restart And the problem is solved. Related posts: Install PHP, MySQL and Apache (LAMP) on Ubuntu (Linux) PHP Tweets for Twitter Windows XP License Key on behalf of Windows Vista or Windows 7 License Key You don't have permission to access http://localhost files or folders on this server in Ubuntu (Linux) PHP, Ubuntu (Linux) Post navigation ← Previous Next → 18 comments shakti July 28, 2015 at 1:17 pm Hey , Working , thanks Man ..Gud job..!!! robert September 13, 2013 at 9:28 pm hey than