I'm trying to instal pecl_http on my server according to manual manual is for ubuntu, but apt-cache search pecl_http
returned php5-pecl-http
as pecl http packadge:
sudo apt-get update
sudo apt-get install php-pear php5-dev
sudo apt-get install php5-pecl-http
sudo apt-get install libcurl3-openssl-dev
in the end of php.ini
added extension=http.so
.
http_get()
and func that I need http_parse_headers()
says that func is undefined. What's the problem?