ForceType uses wrong PHP version

ForceType uses wrong PHP version

Posted by: svip
Posted on: 2008-01-01 06:59:00

When I use ForceType in my .htaccess file, the PHP file is executed by a PHP4 engine rather than a PHP5 engine. And I need PHP5.

.htaccess file;
<Files b>
ForceType application/x-httpd-php
</Files>
<Files t>
ForceType application/x-httpd-php
</Files>

Examples;

http://p.sviip.dk/t < should be PHP5, but as you can see it is PHP4
http://p.sviip.dk/t.php < an example without the ForceType, but relying on Apache's httpd.conf

Both show phpinfo();

Anyone know what I need to change to the ForceType to instead?

Tags: php versionphp filehtaccess