Re: confusion about the file extension for php interpreter to interpret

From: Date: Sun, 14 Nov 2010 07:31:50 +0000
Subject: Re: confusion about the file extension for php interpreter to interpret
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-309479@lists.php.net to get a copy of this message
Hi: add "AddType application/x-httpd-php .Php" into httpd.conf or any other config file in apache/conf/extra thanks 惠新宸 Xinchen Hui http://www.laruence.com/ On 11/14/2010 13:29, 肖晗 wrote: > Apache defaultly use php interpreter to execute files ended with '.php' > extension. > How can I change this rule?Can I change the default extension to any > arbitrary name? Such as .PHP or .Php and so on. > And I am using Ubuntu/Linux, Apache2 and php5. > > Thanks very much!

« previous php.general (#309479) next »