[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to enable cURL php extension in Apache2?



Csanyi Pal <csanyipal@gmail.com> writes:

> Jerry Stuckle <jstuckle@attglobal.net> writes:
>
>> On 6/1/2013 3:21 PM, Csanyi Pal wrote:
>>> Csanyi Pal <csanyipal@gmail.com> writes:
>>>
>>>> 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 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?
>>>
>>> I have in
>>> /etc/php5/mods-available/curl.ini
>>> ; configuration for php CURL module
>>> ; priority=20
>>> extension=curl.so
>>>
>>> Still doesn't work cURL. Why?
>>>
>>
>> What do you have in /etc/php5/mods-enabled?
>
> I even haven't the /etc/php5/mods-enabled/ directory.

Instead, I have this symbolic link:
/etc/php5/conf.d/@20-curl.ini

that pointing to the:
-> ../mods-available/curl.ini

-- 
Regards from Pal


Reply to: