Php is not displayed after the source code is installed. ini only finds php. ini. the default file does not display php after the source code is installed normally. ini only finds php. ini. the default file can run normally. -------------------------- By the way, --------------------------------- when configuring and installing. After installing the ph source code to install php, I did not see the php. ini file and only found the php. ini. default file. it actually works properly.
After the source code is installed with php, the php. ini file is not found and only the php. ini. default file is found, which can run properly.
-------------------------- By the way -------------------------------
During configuration and installation. I used configuration items when installing php.
-- With-mysql-sock =/var/mysql. sock
The data of this configuration can also be seen in the phpinfo () output.
However, the configuration in php. ini. default is empty. Where can I save it?
---------------------
When cp php. ini. default php. ini redefined the mysql. sock configuration, it took effect.
What's going on?
Share: More
------ Solution --------------------
During php compilation, all your specified php extensions are built into php and loaded with php startup.
At this time, php. ini does not work.
The assignment of php. ini is required only when php extensions are compiled separately.