Re: How to enable cURL php extension on Debian Wheezy?

[email protected] (Csanyi Pal)
Newsgroups php.general
Message-ID <[email protected]>
Adam Szewczyk <[email protected]> writes:

> On Sat, Jun 01, 2013 at 09:41:33PM +0200, Csanyi Pal wrote:
>> Hi,
>> 
>> I just upgraded Squeeze to Wheezy, and have difficulties with cURL PHP
>> extension: I can't enable it.
>> 
>> I have installed following packages related to this issue:
>> curl, libcurl3, libcurl3-gnutls, php5-curl.
>> 
>> I have in
>> /etc/php5/mods-available/curl.ini
>> ; configuration for php CURL module
>> ; priority=20
>> extension=curl.so
>> 
>> I know that cURL extension is not enabled because I want to install
>> Moodle and it complains about cURL extension.
>> 
>> How can I solve this problem?
>
> Hi,
>
> what error message do you get?
>
> Also, have you restarted apache after installing the extension?

Yes, I have restarted apache after installing the extension.

It is interesting.. that when I switch to English language for
Moodle installation ( on the web interface ), then I get not this error,
but if I switch back to Hungarian language for installation, I get it
again. 

The info.php file with the content of:
<?
 phpinfo();
?>

should show the enabled cURL extension?

-- 
Regards from Pal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.