#httpd-2.4.16-x64-vc11Apache24conf
# 默认的Define SRVROOT "/Apache24"改为自己的apache目录
Define SRVROOT "E:\php\httpd-2.4.16-x64-vc11\Apache24"
ServerRoot "${SRVROOT}"
date.timez
# 默认的Define SRVROOT "/Apache24"改为自己的apache目录
Define SRVROOT "E:\php\httpd-2.4.16-x64-vc11\Apache24"
ServerRoot "${SRVROOT}"
#define php.ini
PHPIniDir "E:\php\php-5.6.11-Win32-VC11-x64"
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule php5_module E:\php\php-5.6.11-Win32-VC11-x64\php5apache2_4.dll
#define php.ini
PHPIniDir "E:\php\php-5.6.11-Win32-VC11-x64\"
DocumentRoot "E:\php\wwwroot"
<Directory "E:\php\wwwroot">
DirectoryIndex index.html index.php
AddType application/x-httpd-php .php
#wwwrootphpinfo.php <?php phpinfo(); ?>
以上就介绍了windows7x64 apache php环境搭建,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。
PHP怎么学习?PHP怎么入门?PHP在哪学?PHP怎么学才快?不用担心,这里为大家提供了PHP速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号