The php.ini file cannot be read

Source: Internet
Author: User

Configuration File (php.ini) Path /usr/local/php/lib
Loaded Configuration File (none)

Linux can change Dtruss to Strace.

I'm the Mac system.

[Email protected]:~ $sudo dtruss/usr/local/php/bin/php-i 2>/tmp/1.log;

[email protected]:~ $grep ' php.ini '/tmp/1.log
Open_nocancel ("/usr/local/php/bin/php.ini\0", 0x0, 0x1B6) = 3 0
Read_nocancel (0x3, "[php]\n\n;;;;;;;;;;;;;;;;;;;\ N About PHP.ini; \n;;;;;;;;;;;;;;;;;;;\ N PHP ' s initialization file, generally called php.ini, is responsible for\n; Configuring many of the aspects of PHP ' s behavior.\n\n; PHP attempts to find and load the configuration from a num ", 0x10ff8) = 69624 0

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.