Home > Backend Development > PHP Tutorial > Apache中改变php.ini的路径

Apache中改变php.ini的路径

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-01 14:24:22
Original
1044 people have browsed it

在Apache中改变php.ini的路径的方法如下:

打开httpd.conf,

找到 LoadModule php5_module d:/AppServ\php5\php5apache2_2.dll,在其下面增加多一行代码:

PHPIniDir “D:/php5″

即php.ini所在的文件夹;

保存,重启Apache即开始生效。

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