Reputation: 455
When I try to do http_get($url)
I attain an error: "http_get is undefined
". I know I should import or enable a certain module although after searching I found absolutely nothing on this and even PHP manual doesn't refer to anything.
Can someone help me out?
Upvotes: 0
Views: 4942
Reputation: 770
The following contains access to the DLL files needed to use PECL on Windows http://windows.php.net/downloads/pecl/releases/http/
unzipp it and copy the file php_http.dll
in your PHP extension folder. Edit the php.ini file (c:\WINDOWS\php.ini unless you moved it somewhere else) and activate it
extension=php_http.dll
Upvotes: 1