Maison > Article > développement back-end > apache + php 配置笔记
主要就是两个地方:
一、httpd.conf
LoadModule php5_module "D:/app/php/php5apache2_4.dll"
AddHandler application/x-httpd-php .php
PHPIniDir "D:/app/php"
AddType application/x-httpd-php .php
二、php.ini
加载module
extension_dir = "D:/app/php/ext"
调试:
[Xdebug]
zend_extension="D:/app/php/ext/php_xdebug-2.3.2-5.6-vc11-x86_64.dll"
xdebug.auto_trace = On
xdebug.show_exception_trace = On
xdebug.remote_autostart = On
xdebug.remote_enable = On
xdebug.collect_vars = On
xdebug.collect_return = On
xdebug.collect_params = On