RescueHst
09-13-2001, 11:33 AM
Good morning everyone.
I am looking for a way to have the .php3 recognized for scripting
not just .php
How do I go about this?
thanks
MatthewBane
09-16-2001, 11:54 PM
You can edit your httpd.conf file to have PHP4 recognize and use .php3 files.
Just find this line in the httpd.conf file...
# And for PHP 4.x, use:
#
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
And change it to this
# And for PHP 4.x, use:
#
AddType application/x-httpd-php .php .php3
AddType application/x-httpd-php-source .phps
That sould work. Also you might need to change your mod_dir line to see it as an index file like this.
<IfModule mod_dir.c>
DirectoryIndex index.html index.php index.php3
</IfModule>
---Knowledge is Pure--