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.
Решение довольно простое — замена это функции на чистую ее реализацию на PHP или же обратно-совместимый синоним, 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:
- The entire set of: http_build_url.zip
- Implementation in pure PHP http_build_url() от “Fuel the fire”: http://fuelforthefire.ca/free/php/http_build_url/
- Expanding pecl_http: http://pecl.php.net/package-info.php?package=pecl_http
- Expansion (*.dll) PHP for windows (including pecl_http, только название другое “php_http”): http://downloads.php.net/pierre/