Re: How to enable cURL php extension on Debian Wheezy?
| From: | Tamara Temple | Date: | Sat, 01 Jun 2013 21:38:22 +0000 |
| Subject: | Re: How to enable cURL php extension on Debian Wheezy? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-321319@lists.php.net to get a copy of this message | ||
Csanyi Pal <csanyipal@gmail.com> wrote:
> I have installed following packages related to this issue:
> curl, libcurl3, libcurl3-gnutls, php5-curl.
All good.
> I have in
> /etc/php5/mods-available/curl.ini
> ; configuration for php CURL module
> ; priority=20
> extension=curl.so
Have you enabled the extension as well? That looks like the standard
set-up, which means that curl.ini is available, but you still have to
enable it. Check in /etc/php5/conf.d to see if there's a symlink in
there, otherwise look through the various bits to see if it's included
somewhere in one of the stock php.ini files.
Here's an example from one of my servers:
tamara@gandimouse /etc/php5$ ll mods-available/
total 4.0K
-rw-r--r-- 1 root root 66 Sep 15 2012 pdo.ini
tamara@gandimouse /etc/php5$ ll conf.d/
total 0
lrwxrwxrwx 1 root root 25 Sep 24 2012 10-pdo.ini -> ../mods-available/pdo.ini
If you make changes here, ensure you restart your sever.