Get PHP to parse on local server


/ Published in: PHP
Save to your folder(s)

AddHandler application/x-httpd-php .php .htm ... worked for me (directory: xampp/apache/conf)


Copy this code and paste it in your HTML
  1. Your Apache configuration file, httpd.conf, probably does not allow anything to be overridden in a .htaccess file...
  2.  
  3. It much easier to find/change the following line in httpd.conf to do this -
  4.  
  5. AddType application/x-httpd-php .php .html

URL: http://forums.codewalkers.com/server-administration-84/getting-php-to-parse-on-local-server-84452.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.