TomLewis
-
Posts
1 -
Joined
-
Last visited
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Apache downloading PHP files instead of rendering them after update from php 5.3.3 to 5.4
in PHP Installation and Configuration
Posted · Edited by TomLewis
I have some scripts that need to use a newer version of PHP, Im running Debian 6 which has PHP 5.3.3 support, I found I could install php 5.4 using https://www.dotdeb.org/instructions/ packages. This worked, it updated my PHP to a newer version, the only issue is that when the install completed apache now downloads the PHP file instead of rendering it, Ive been troweling google and stackoverflow and servefault for hours now and I cant find a solution.
Im guessing this has something to do with the Apache configs, but I don't know what to do.