Installing PHP extensions in Debian
Posted
by Nick Sabatino
on Stack Overflow
See other posts from Stack Overflow
or by Nick Sabatino
Published on 2010-04-14T22:14:44Z
Indexed on
2010/04/15
0:13 UTC
Read the original article
Hit count: 850
I'm trying to install the PECL extension pecl_http so that I can use PHP's http_negotiate_language() function.
I'm running PHP5 on Apache2 and Debian Lenny. I installed the php_http package from the debian repo, however, I still can't use that function in my php scripts! The package also doesn't show up under phpinfo(). I tried installing it from PECL, but I could not.
Is there some procedure for enabling these extensions in PHP? Kind of like a2enmod for apache?
Note: This is a repost from http://forum.slicehost.com/comments.php?DiscussionID=4650
I also tried adding extension=pecl_http.so to my apache2/php.ini with no effect.
Any guesses?
© Stack Overflow or respective owner