Re: How to "activate" PHP4 in a PHP3/PHP4-environment ?
| From: | Daniel Convissor | Date: | Fri, 22 Dec 2000 18:38:49 +0000 |
| Subject: | Re: How to "activate" PHP4 in a PHP3/PHP4-environment ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-31615@lists.php.net to get a copy of this message | ||
Thomas:
> How do You "activate" PHP4 in an environment with both PHP3
> and PHP4 installed ? My host seems to have PHP3 enabled as
> default.
I put the following lines in my .htaccess files:
AddType application/x-httpd-php3 .htm .inc
AddType application/x-httpd-php .html
So, .htm and .inc go as PHP3 and .html go as PHP4.
--Dan
--
PHP scripts that make your job easier
http://www.analysisandsolutions.com/code/
SQL Solution | Layout Solution | Form Solution
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7 Ave, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409