Hello, how to add support of PHP to a website added without using virtualmin when virtualmin is installed ?
I have a “zoneminder.conf” in my folder “sites-enabled” and after restart of apache i can access to “/zm/” (“Alias /zm /usr/share/zoneminder”), but i view only the source code.
If i add to my “zoneminder.conf” :
- “AddType application/x-httpd-php .php” -> the “index.php” is downloaded.
- “AddType text/html .php” -> I have a blank page (and the source of php in the source code).
Without VirtualMin i was not this problem.
I have also tested to add PHP support by a “.htaccess” file in the zoneminder folder but don’t work too…
How can i add the support of php manually ?
Thank.