Reputation: 8965
I wanted php5.5 on my Debian 7 server so I added the Dotdeb repository to my sources.list since they have php5.5 in their repository
I first removed the defualt php5.4 which come with Debian 7 and after that I installed php5.5 by running
apt-get install php5
I know php 5.5 is installed by running
php -v
but now my php webpages do not get interpreted by php. How can I fix this issue?
I have tried re installing apache as well but it did not fix the issue.
Upvotes: 0
Views: 79
Reputation: 8965
For anyone else who runs into this problem. Here is how I solved issue.
Run this command
a2enmod php5
Upvotes: 1