But suddenly, it started to return Call to undefined function curl_init() error. Processing triggers for man-db (184.108.40.206-1ubuntu1) ... (Reading database ... 91761 files and directories currently installed.) Preparing to unpack .../php5-common_5.5.9+dfsg-1ubuntu4.16_amd64.deb ... For some reason curl.so was installed in a location not picked up by default. Are you sure you want to replace the current answer with this one? click site
php5-mysql : Depends: php5-common (= 5.5.9+dfsg-1ubuntu4.14) but 5.5.9+dfsg-1ubuntu4.16 is to be installed. http://www.php.net/manual/en/curl.setup.php On current versions of Debian and Ubuntu, you can likely solve this by installing the Curl extension for PHP, and restarting the webserver. Output the Hebrew alphabet Bangalore to Tiruvannamalai : Even, asphalt road Story about crystal flowers that stop time? Join Date Nov 2004 Location Reno Beans 363 DistroUbuntu 7.10 Gutsy Gibbon Re: Fatal error: Call to undefined function curl_init() Huh.
Done Writing extended state information... There were similar questions but none of them handled it in php7. Updated answer. –Vinay Jan 6 at 5:31 Not working at all. If you get an error "Unable to Load php_curl.dll", copy SSLEAY32.PHP, libEAY32.dll (OpenSSL) Libraries to the System32 folder.
Is it illegal to DDoS a phishing page? Sign into your account, or create a new one, to start interacting. Was the Boeing 747 designed to be supersonic? Call To Undefined Function Curl_init() In Php share|improve this answer answered Dec 23 '13 at 21:11 Nemanja Vujacic 4542924 solved my issue on wamp 2.2 (windows 8.1 x64) –WebDevPT Dec 18 '14 at 16:53 add a
[email protected]:/var/www/research$ Adv Reply November 1st, 2007 #7 McHenry View Profile View Forum Posts Private Message A Carafe of Ubuntu Join Date Jul 2006 Beans 104 Re: Fatal error: Call to php5_invoke prerm: Disable module gd for apache2 SAPI php5_invoke prerm: Disable module gd for cli SAPI Removing libgd3:amd64 (2.1.0-3) ... [email protected]:~$ sudo find /| grep php.ini /etc/php5/apache2/php.ini /etc/php5/cli/php.ini /usr/share/doc/php5-common/examples/php.ini-recommended /usr/share/doc/php5-common/examples/php.ini-paranoid /usr/share/doc/php5-common/examples/php.ini-dist /usr/share/php5/php.ini-dist [email protected]:~$ [email protected]:~$ sudo cat /etc/php5/apache2/php.ini | grep curl extension=curl.so [email protected]:~$ [email protected]:~$ sudo cat /etc/php5/cli/php.ini | grep curl extension=curl.so [email protected]:~$ http://stackoverflow.com/questions/34842596/call-to-undefined-function-curl-init-even-it-is-enabled-in-php7 http://www.php.net/manual/en/curl.setup.php share|improve this answer answered Dec 9 '10 at 9:46 fire 12.6k104695 +1 And if you can't install the curl extension, you can try using shell_exec (or similar) with
apache2ctl graceful OR apache2ctl restart That's all there is to it. Php Fatal Error Call To Undefined Function Curl_init() Linux share|improve this answer answered Jul 4 '14 at 3:50 jessejuicer 4729 add a comment| up vote 0 down vote RusAlex answer is right in that for Apache you have to install Can an irreducible representation have a zero character? Then sudo service apache2 restart this is generally taken care of automatically, but there are situations - eg, in shared development environments - where it can become necessary to re-enable manually.
Do I need to do this? https://forum.ubuntu-fr.org/viewtopic.php?id=982271 Removing libjbig0:amd64 (2.0-2ubuntu4.1) ... Php Fatal Error Call To Undefined Function Curl_init() In Ubuntu Set the 'ServerName' directive globally to suppress this message [ OK ] Removing libtiff5:amd64 (4.0.3-7ubuntu0.4) ... Call To Undefined Function Curl_init() In Codeigniter Adv Reply March 10th, 2009 #2 LegendofTom View Profile View Forum Posts Private Message Gee!
Copyright © 2016 DigitalOcean™ Inc. get redirected here i put sudo apt-get install php5-curl hehe my php is version 5 and it worked! I solved same problem, even don't speak French. :-) Many answers forget to mention that you need to add new version of php_curl.dll file from this location: http://www.anindya.com/php-5-4-3-and-php-5-3-13-x64-64-bit-for-windows/ I added new share|improve this answer edited Feb 1 '12 at 19:31 shamess 4832519 answered Dec 18 '10 at 9:48 RusAlex 4,69131933 [email protected]:~$ sudo apt-get install php5_curl Reading package lists... Php7 Curl_init
Need to get 472 kB of archives. Adv Reply November 1st, 2007 #8 smartbei View Profile View Forum Posts Private Message Visit Homepage Extra Foam Sugar Free Ubuntu Join Date Nov 2006 Location Israel Beans 765 DistroUbuntu php5-readline : Depends: php5-common (= 5.5.9+dfsg-1ubuntu4.14) but 5.5.9+dfsg-1ubuntu4.16 is to be installed. navigate to this website Can not send email with php mailer using gmail account "multiple selected" on edit is not working , codeigniter Sending mail to remote users.
Related posts: Sending a username and password with PHP CURLFix the "call to undefined function ImageCreateFromPNG" error in PHP on DebianInstall PHP IMAP on DebianChanging the timezone with PHPPHP fatal libpng Call To Undefined Function Curl_init() Php 7 Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. What is the main spoken language in Kiev: Ukrainian or Russian?
Took me forever to figure that out, so thought I'd post in case it helps someone else. hi tom, i changed something, and it worked. How can I wrap text into two columns? What Is Curl_init() In Php I thought it should be something different than others.
I resolved it by adding LoadFile directives for libeay32.dll and ssleay32.dll: LoadFile "C:/path/to/Php7/libeay32.dll" LoadFile "C:/path/to/Php7/ssleay32.dll" LoadFile "C:/path/to/Php7/php7ts.dll" LoadModule php7_module "C:/path/to/Php7/php7apache2_4.dll" share|improve this answer answered Feb 8 at 11:12 fishbone 81321127 add Finally I found out that Apache by default looks for php.ini in the C:\Windows folder. Asking for a written form filled in ALL CAPS How to make Twisted geometry are the integers modulo 4 a field? my review here Then I ran the command below: aptitude install php5-curl The following NEW packages will be installed: php5-curl The following packages will be upgraded: php5-common 1 packages upgraded, 1 newly installed, 0
Not the answer you're looking for? What's difference between these two sentences? I am not sure about it. Setting up php5-curl (5.5.9+dfsg-1ubuntu4.16) ...
I had to restart nginx and php5-fpm like so: sudo service nginx restart sudo service php5-fpm restart But I had non-working php5-fpm processes hanging around, which apparently is a bug in Page 1 of 2 12 Last Jump to page: Results 1 to 10 of 13 Thread: Fatal error: Call to undefined function curl_init() Thread Tools Show Printable Version Subscribe to this