Blog P1ratRuleZZZ

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.

Решение довольно простое — замена это функции на чистую ее реализацию на 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:

Exit mobile version