HTTP Requests Fails for WordPress sites after upgrading from PHP 5.2 to PHP 5.3

Posted by anjanesh on Server Fault See other posts from Server Fault or by anjanesh
Published on 2010-04-02T11:51:28Z Indexed on 2010/04/02 11:53 UTC
Read the original article Hit count: 464

Filed under:
|

I've upgraded from Ubuntu 9.10 to 10.04 beta 1 and PHP got upgraded from 5.2 to 5.3 Now all my WordPress & Magento sites arent working. I tried retrieving the URL headers from the command line, but HTTP request fails.

Utilizing get_headers in a small script, PHP Warning: get_headers(http://local.vhosts1.com): failed to open stream: HTTP request failed! in get_headers.php on line 12

But HTTP request fails only for WordPress and Magento based sites - not custom written ones. Does this probably have to do with some htaccess directive ?

© Server Fault or respective owner

Related posts about Wordpress

Related posts about php5.3