Drupal6 HTTP Server Request Fails

Edition the php.ini file solves the problem in my case

The “allow_url_fopen” parameter was On, but it still doesn't work:

allow_url_fopen = On

But in the list of “disable_functions” was fsockopen:

disable_functions = exec, popen, passthru, system, fsockopen, shell_exec, …

I remove it from the list, like this:

disable_functions = exec, popen, passthru, system, shell_exec, …

And all start working fine after that!

Thanks!

P.S. I place edited php.ini file in the Drupal root directory, so it can's harm or affect any other hosting sites.

你可能感兴趣的:(fsockopen,drupal)