Home > Backend Development > PHP Tutorial > Where exactly is php.ini placed? _PHP Tutorial

Where exactly is php.ini placed? _PHP Tutorial

WBOY
Release: 2016-07-13 17:32:56
Original
1159 people have browsed it


On Unix, php (as the current mainstream development language) .ini file is placed on /usr/local/lib by default, because the default storage path is (as the current mainstream development language).ini. For example, you can use - -with- config-file-path=/etc, store it under /etc, and then copy php(as the current mainstream development language).ini-dist from the source package to /etc/ php(as the current mainstream development language).ini and modify it to meet the needs.
The default location of php on Windows (as the current mainstream development language) .ini is the windows system directory. If apache is used (the most popular WEB server platform on Unix platform) , then php(as the current mainstream development language).ini will be searched first from the installation directory of apache(the most popular WEB server platform on Unix platform), for example :c:program filesapache(The most popular WEB server platform on the Unix platform) groupapache(The most popular WEB server platform on the Unix platform), so that you can configure different files on the same machine apache (the most popular WEB server platform on Unix platform) has different versions of php (as the current mainstream development language) .ini file.

http://www.bkjia.com/PHPjc/508657.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/508657.htmlTechArticleOn Unix, php (as the current mainstream development language) .ini files are placed in /usr/ by default Above local/lib, because the default storage path is install-path /lib, but it can be used during compilation...
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