VPS and dedicated server security tips. Preventing from attacks, ddos and more.
by Mark » Sat Dec 26, 2009 12:44 am
If you want to switch to php version from php4 to php5 or any other version then add the following rule in your .htacesss file as per the php version installed on the server.
To switch to PHP 5.0:
- Code: Select all
AddHandler application/x-httpd-php5 .php .php5 .php4 .php3
To switch to PHP 5.1:
- Code: Select all
AddHandler application/x-httpd-php51 .php .php5 .php4 .php3
To switch to PHP 5.2:
- Code: Select all
AddHandler application/x-httpd-php52 .php .php5 .php4 .php3
-
Mark
-
- Posts: 124
- Joined: Fri Dec 11, 2009 2:18 pm
Return to Securing your server
Who is online
Users browsing this forum: No registered users and 1 guest