Re: .php3 files not gettin processed

From: Date: Thu, 23 Nov 2000 05:55:43 +0000
Subject: Re: .php3 files not gettin processed
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-26791@lists.php.net to get a copy of this message
On Thu, 23 Nov 2000, minter@netraverse.com wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Very weird problem on an Apache 1.3.12. I've compiled php-4.0.3pl1 and > installed it as a DSO. I've adjusted the mime-types in httpd.conf so that > files ending with .php or .php3 will be handled by the php4 > module. However, files with .php extensions work fine, but with .php3, > they get the mime-type of application/x-httpd-php3, contrary to what's set > up in httpd.conf. > > Here are the relevant lines: > > # Extra Modules > #LoadModule php_module modules/mod_php.so > LoadModule php4_module modules/libphp4.so > > .... > > # Extra Modules > #AddModule mod_php.c > AddModule mod_php4.c > > .... > > # PHP section > AddType application/x-httpd-php .php .php3 > AddType application/x-httpd-php-source .phps > > I'm stumped - any ideas? You don't say that you restarted the apache daemon to re-read the changes in the http-conf file. -- David Robley | WEBMASTER & Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet | http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRALIA

« previous php.general (#26791) next »