日期:2014-05-17 浏览次数:20911 次
#
LoadModule php5_module "c:/php/php5apache2.dll"
AddHandler application/x-httpd-php .php
# configure the path to php.ini
PHPIniDir "C:/php"
#The above configuration will enable PHP handling of any file that has a .php extension,
#even if there are other file extensions. For example, a file named example.php.txt will be executed by the PHP handler.
#To ensure that only files that end in .php are executed, use the following configuration instead:
<FilesMatch \.php$>
SetHandler application/x-httpd-php
</FilesMatch>
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>
# php timezone configure date.timezone = "Asia/Shanghai" date.default_latitude = 31.5167 date.default_longitude = 121.4500