Web Hosting Talk







View Full Version : .php3


vels
07-02-2001, 10:50 AM
Hi

How can my RaQ4 use .php3??

In:
/etc/httpd/conf/srm.conf

# PHP4 (backwards compatible with php3)
AddType application/x-httpd-php4 .php3
AddType application/x-httpd-php4 .php4
AddType application/x-httpd-php4 .php

When i try a file with .php3 it pop up with download the file :((

jks
07-02-2001, 11:04 AM
Originally posted by vels
Hi

How can my RaQ4 use .php3??

In:
/etc/httpd/conf/srm.conf

# PHP4 (backwards compatible with php3)
AddType application/x-httpd-php4 .php3
AddType application/x-httpd-php4 .php4
AddType application/x-httpd-php4 .php

When i try a file with .php3 it pop up with download the file :((

Try using:

AddType application/x-httpd-php .php3

If that doesn't work either, then take a look at the VirtualHost block to see, if there has been given any other AddType's there.

(Remember to restart apache every time you make changes in httpd.conf)

--
Jens Kristian Søgaard, Mermaid Consulting I/S,
jens@mermaidconsulting.dk,
http://www.mermaidconsulting.com/