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