Expanding pecl_http v.2 longer supports http_build_url(). Solve the problem quickly.

And So, in 2014 year renewal extension came pecl_http, which no longer function http_build_url, and indeed other functions too. but personally, my problem was only in this function, so dig all other incompatibility I did not. Changelog can be found there. As written here, since 2.x.x version comes complete incompatibility pecl_http v.1.x.x.

The solution is quite simple — replacing this function to clean its implementation in PHP or back-compatible synonym, using a new version of pecl_http.

To do this, you need to download file http_build_url.zip and connect it somewhere before using (while you can certainly connect file, If the function already has http_build_url, Just read the file, but no function overrides).

Reference:

Loading

This entry was posted in PHP, Computers, Programming and tagged , , , , , , , . Bookmark the permalink. | Short link:  http://p1rat.ru/lezzz/m3Te1

Leave a Reply