Upgrading PHP broke all my 5.6.4x sites
Permalink
I had my hosting service upgrade my VPS to easyapache4 so I could modify the versions of PHP on a domain basis to start using concrete 5.8
All my concrete sites running 5.6.3.1 are still working fine. However, the few sites I had upgraded to 5.6.4 are now broken.
when you go to them, they try to download a file - see below. Does anyone know what difference there might be between versions 5.6.31. and the next higher that would cause this?
You have chosen to open:
which is: application/x-httpd-php5 (42 bytes)
from:http://vchecksupport.com
What should Firefox do with this file?
* Open with: [Browser]
* Save File
* Do this automatically for files like this from now on.
if I open the file with NotePad I get:
<?phprequire 'concrete/dispatcher.php';
All my concrete sites running 5.6.3.1 are still working fine. However, the few sites I had upgraded to 5.6.4 are now broken.
when you go to them, they try to download a file - see below. Does anyone know what difference there might be between versions 5.6.31. and the next higher that would cause this?
You have chosen to open:
which is: application/x-httpd-php5 (42 bytes)
from:http://vchecksupport.com
What should Firefox do with this file?
* Open with: [Browser]
* Save File
* Do this automatically for files like this from now on.
if I open the file with NotePad I get:
<?phprequire 'concrete/dispatcher.php';
Try checking your htaccess files in the install - I reckon you might have some of those lines added that are sometimes there to control what version of PHP to use. In this case you shouldn't need them.
AWESOME! I owe you a beer, coffee, donuts or something.
That's exactly what it was - a single line in the .htaccess file.
Many, many thanks!
That's exactly what it was - a single line in the .htaccess file.
Many, many thanks!