Apache 2.0 is showing only text and not php files
- by denonth
I have a web application written with PHP, html and JavaScript.
On my pc I have installed a EasyPHP program which has Apache and everything installed.
But I wanted to put this web app to my server and I have installed a Apache 2.0 but my php files are displayed as text or it starts to download them automatically.
I have tried several things one of them is to add this to my conf file:
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
But it's still not working.
What else can I do?
Thank you