I have a web application written in PHP
, html
and JavaScript
.
On my PC, I have installed the EasyPHP program which has Apache and everything installed.
I wanted to put this web app on my server and I have installed Apache 2.0, but my php
files are displayed as text or downloaded automatically.
I have tried several things, one of which is to add the below 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?