HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Call to undefined function curl_setopt() (http://www.howtoforge.com/forums/showthread.php?t=34565)

mgibson 5th May 2009 22:45

Call to undefined function curl_setopt()
 
Hi,

I've recently moved a test magento site from ZendCore on windows to ispconfig3 on ubuntu. the main site works fine, until i hit www.domain.com/admin.

I encounter the following:

Code:

Fatal error: Call to undefined function curl_setopt() in /var/www/clients/client0/web1/web/lib/Varien/Http/Adapter/Curl.php on line 94
line 94 is:

Code:

curl_setopt($this->_getResource(), CURLOPT_URL, $url);
Thank you for your assistance.

Mark.

mgibson 6th May 2009 00:07

Now Solved

php5-curl is not installed by default in the ispconfig3 setup guide.

to enable this open terminal
sudo apt-get install php5-curl

no need to restart apache, works instantly.

Thanks,

Mark.

ramasamy 21st October 2013 09:08

Thank you.. After I installed PHP5-curl it working well. But for me needed APACHE RESTART to get effective.


All times are GMT +2. The time now is 09:31.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.