After upgrading php 5.3.8 to php 5.4.30 php files are not being executed
Hello everyone,
I just upgraded php 5.3.8 on my plesk using yum repo to php 5.4.30 but now the problem is that php files are being downloaded when I access them. I have added "AddType application/x-httpd-php5 .php" to php.conf but to no avail. Any help would be greatly appreciated. Thanks |
Quote:
Code:
httpd -M | grep php |
Thanks for replying ..
The out of "httpd -M | grep php" is Quote:
|
Are you running php as a module?
If so then you should have something like: Code:
# httpd -M | grep php |
I don't know.. But i guess it's not as a module
because there is no libphp.so module in the apache modules directory. I just upgraded from php 5.3 to 5.4 by following this how to http://kb.parallels.com/en/115833 Html files and text files are being accessed file. But when you access php file, it gets downloaded. |
I haven't a clue with Plesk to be honest, never used it.
|
All times are GMT -5. The time now is 10:10 PM. |