add "AddType application/x-httpd-php .Php" into httpd.conf or any
other config file in apache/conf/extra


惠新宸     Xinchen Hui

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!

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to