Source After installing PHP, did not see php.ini only found the Php.ini.default file, incredibly able to run, how to solve

Source: Internet
Author: User
Source After installing PHP, did not see php.ini only found the Php.ini.default file, incredibly able to work
The source code after installing PHP, did not see php.ini only found the Php.ini.default file, incredibly able to run normally.
--------------------------by the way-------------------------------
I was configuring the installation. I used a configuration item when I was installing PHP
--with-mysql-sock=/var/mysql/mysql.sock

The data for this configuration can also be seen in the phpinfo () output to be in effect.
But php.ini.default inside the configuration is empty, then ask is where to save it?
---------------------
When my CP php.ini.default php.ini redefined the configuration of the Mysql.sock, it actually took effect.
What's going on?

------Solution--------------------
When compiling PHP, all of the PHP extensions you specify are built into PHP and loaded with PHP startup
PHP.ini doesn't work at this point.
Only when you compile the PHP extension separately, you need to pass the php.ini assignment
  • 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.