htaccess – Helps

 

 

To enable Php Errors Use The Below htaccess Commands:

# supress php errors
php_flag display_startup_errors on
php_flag display_errors on

To Enable PHP Tags to work in html page
For web servers using PHP as apache module:


RemoveHandler .html .htm
AddType application/x-httpd-php .php .htm .html

For web servers running PHP as CGI:


AddHandler application/x-httpd-php .html .htm

  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.