laruence/laruence.github.com — Issue #1: file_get_contents(url) broken after applying this patch
Author: maxdlx
Created: 2012-01-11 13:34:04+00:00
State: open

Hello, we have tested this patch with php-5.2.14 and php-5.2.17 on openSUSE 11.

After applying the patches and reinstalling php, the max_input_vars declaration was understood and this patch seemed to work.
But after more testing other functionalities were broken.
In this case:

file_get_contents('http://xyz.com/test.txt') didn't work.

Error message was: URL file-access is disabled in the server configuration; failed to open stream: no suitable wrapper
could be found in [...]

We checked for the configuration and:

"allow_url_fopen = On" and it works assuming the output of phpinfo() and ini_get("allow_url_fopen").

We uninstalled the patch and recompiled again. Now everything works fine again but we would really like 'max_input_vars' to work in php-5.2.*.

Regards
Chris