Where is php. ini?

Source: Internet
Author: User
Article Title: where is php. ini ?. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
On Unix, the php. ini file is put on/usr/local/lib by default, because the default storage path is /Lib, but you can use the -- with-config-file-path parameter during compilation to modify php. ini storage location. for example, you can use -- with-config-file-path =/etc to store it under/etc, and then copy php from the source package. ini-dist to/etc/php. ini and modify it to meet your needs.
?? Php on Windows. the default position of ini is the windows system directory. If Apache is used, you will first find php from the Apache installation directory. ini, for example, c: program filesapache groupapache, so that you can set different php versions for different Apache versions on the same machine. ini file.
Related Article

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.