Home > Backend Development > PHP Tutorial > apache + php configuration notes

apache + php configuration notes

巴扎黑
Release: 2016-11-22 14:36:12
Original
1407 people have browsed it

Mainly two places:

1. 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

Second, php.ini

Load module

extension_dir = "D:/app/php/ext"

Debugging:

[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


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template