Description of problem:
A request to backport function (php_url_parse_ex) from newer versions of php,
few new php plugins are using that function.
Version-Release number of selected component (if applicable):
Install any php plugin which uses php_url_parse_ex function and it won't work.
Steps to Reproduce:
1. Install pecl memcache>2.1.2
2. php -m
Prints "PHP Warning: Unknown(): Unable to load dynamic library
'/usr/lib64/php4/memcache.so' - /usr/lib64/php4/memcache.so: undefined symbol:
php_url_parse_ex in Unknown on line 0"
php_url_parse_ex was introduced in 4.3.10, it is a modification for
php_url_parse (accepts length, not only char array).
Created attachment 211791 [details]
Backport from php 4.4.7. It is adds php_url_parse_ex function with it's dependency php_replace_controlchars_ex. No other functions are modified.
This problem is resolved in the next release of Red Hat Enterprise Linux. Red
Hat does not currently plan to provide a resolution for this in a Red Hat
Enterprise Linux update for currently deployed systems.
With the goal of minimizing risk of change for deployed systems, and in response
to customer and partner requirements, Red Hat takes a conservative approach when
evaluating changes for inclusion in maintenance updates for currently deployed
products. The primary objectives of update releases are to enable new hardware
platform support and to resolve critical defects.