Re: .php3 files not gettin processed

From: Date: Thu, 23 Nov 2000 10:21:52 +0000
Subject: Re: .php3 files not gettin processed
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-26853@lists.php.net to get a copy of this message
Hi, Try this: (this had helped me) AddType application/x-httpd-php .php3 AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps roymaster ----- Original Message ----- From: "David Robley" <huntsman@hermes.nisu.flinders.edu.au> To: <minter@netraverse.com>; <php-general@lists.php.net> Sent: Thursday, November 23, 2000 6:55 AM Subject: Re: [PHP] .php3 files not gettin processed > 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 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#26853) next »