Installing PHP Extensions in Debian

I am trying to install the pecl_http pecl extension so that I can use the PHP function http_negotiate_language ().

I am running PHP5 on Apache2 and Debian Lenny. I installed the php_http package from debian repo, however I still can not use this function in my php scripts! The package also does not appear in phpinfo (). I tried installing it from PECL, but could not.

Is there any procedure for including these extensions in PHP? A kind of like a2enmod for apache?

Note. This is a repost from http://forum.slicehost.com/comments.php?DiscussionID=4650

I also tried adding the extension = pecl_http.so to my apache2 / php.ini with no effect.

Any guesses?

+3
source share
1

PECL.

php.ini pecl_http Linux:

extension=http.so
+2

Source: https://habr.com/ru/post/1741175/


All Articles