Why are my php tags converted to html comments?
A friend's lamp host seems to be misconfigured. I try to execute php, but it doesn't seem to be working. In Chrome's inspect element: <?php echo 'test'; ?> becomes : <!--?php echo 'test'; ?--> Furthermore, its been triggering a file download, rather than opening it as a webpage. I've tried various code in an .htaccess file, but it doesn't seem to have any effect: AddType x-mapp-php5 .php AddType application/x-httpd-php .php AddHandler x-mapp-php5 .php The place to correctly configure PHP operation is the httpd.conf file, which resides in the conf subdirectory of your Apache installation