Re: .php and .php3

From: Date: Thu, 12 Oct 2000 03:48:06 +0000
Subject: Re: .php and .php3
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-19743@lists.php.net to get a copy of this message
Chih-Lung Lin writes: > I installed php3 on a Cobalt server (running Apache). However, PHP3 only > parses the files with extension .php3 not php. Where should I change? > Thanks > > Chih-Lung Look for lines in httpd.conf like this: AddType application/x-httpd-php3 .php3 Change them to something along the lines of: AddType application/x-httpd-php3 .php3 .php Add whichever extensions you wish to be parsed, and restart httpd. For more information, check out the Apache manual and the PHP documentation, FAQ, and mailing lists archives. -- +----------------------------------------------------------------+ |Torben Wilson <torben@php.net> Netmill iTech| |http://www.coastnet.com/~torben http://www.netmill.fi| |Ph: 1 250 383-9735 torben@netmill.fi| +----------------------------------------------------------------+

« previous php.general (#19743) next »