Where is php. ini?

Source: Internet
Author: User
Where is php. ini? Q: Where is php. ini? <Br/> :?? On Unix, the php. ini file is put on/usr/local/lib by default. Q: Where is php. ini put?

A :?? On Unix, php. the 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 to modify php during compilation. 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 files/apache group/apache, so that you can set different php versions for different Apache versions on the same machine. ini file.

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.