Where exactly does php.ini put? _php Tutorials

Source: Internet
Author: User
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 /lib, but you can use the--with-config-file-path parameter at compile time to modify PHP (as the current mainstream development language). INI storage location, for example you can use the--with-config-file-path=/ etc to store it under/etc, then you can copy PHP from the source package (as the current mainstream development language). Ini-dist to/etc/php (as the current mainstream development language). INI and modify to make it meet your needs.
Windows above PHP (as the current mainstream development language). The default location for INI is the Windows system directory, and if you use Apache (the most popular Web server platform for UNIX platforms), you will first start with Apache ( UNIX platform is the most popular Web server platform) to find PHP in the installation directory (as the current mainstream development language). INI, for example: C:Program Filesapache (the most popular Web server platform for UNIX platforms) Groupapache ( UNIX platform is the most popular Web server platform), so you can set up on the same machine for different Apache (Unix platform most popular Web server platform) version of different PHP (as the current mainstream development language). ini file.

http://www.bkjia.com/PHPjc/508657.html www.bkjia.com true http://www.bkjia.com/PHPjc/508657.html techarticle On Unix, PHP (as the current mainstream development language). ini file is placed by default on/usr/local/lib, because the default storage path is Install-path/lib, but can be used at compile time ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.