RE: [PHP] Server change affecting ability to send downloaded files???
| From: | Ford, Mike | Date: | Mon, 10 Aug 2009 11:31:13 +0000 |
| Subject: | RE: [PHP] Server change affecting ability to send downloaded files??? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-296543@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Brian Dunning [mailto:brian@briandunning.com]
> Sent: 08 August 2009 01:04
> To: PHP General List
> Subject: Re: [PHP] Server change affecting ability to send
> downloaded files???
>
> Very interesting. Excellent debugging advice. It's giving me a 500
> error, probably why the Rackspace techs told me to check my code:
>
> HTTP/1.0 500 Internal Server Error
> Date: Sat, 08 Aug 2009 00:01:10 GMT
> Server: Apache/2.0.52 (Red Hat)
> X-Powered-By: PHP/5.2.10
> Content-Disposition: attachment; filename="Installer.bin"
> Content-Length: 23223296
> Connection: close
> Content-Type: application/octet-stream
>
> I'm at a loss. Nothing changed in the code and it works for ZIP
> files.
I notice the X-Powered-By header shows you are running on PHP 5.2.10. This was released on
18-June-2009, so Rackspace must have upgraded your PHP installation some time after that. I think
it's a reasonable assumption that something is behaving differently in PHP 5.2.10 from how it
did in whatever version you were running under before. You need to track down what that something
is, and fix it!
Cheers!
Mike
--
Mike Ford,
Electronic Information Developer, Libraries and Learning Innovation,
Leeds Metropolitan University, C507, Civic Quarter Campus,
Woodhouse Lane, LEEDS, LS1 3HE, United Kingdom
Email: m.ford@leedsmet.ac.uk
Tel: +44 113 812 4730
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm