Home  >  Article  >  Backend Development  >  源码安装php后,没看到php.ini只找到了php.ini.default文件,居然能够正常运行

源码安装php后,没看到php.ini只找到了php.ini.default文件,居然能够正常运行

WBOY
WBOYOriginal
2016-06-13 11:43:43963browse

源码安装php后,没有看到php.ini只找到了php.ini.default文件,居然能够正常运行
源码安装php后,没有看到php.ini只找到了php.ini.default文件,居然能够正常运行。
--------------------------顺便问下-------------------------------
我在配置安装的时候。我在安装php的时候使用了配置项

--with-mysql-sock=/var/mysql/mysql.sock

这个配置的数据在phpinfo()输出也能看到是生效了。
但是php.ini.default里面的配置是空的,那请问是在哪保存的呢?
---------------------
当我cp php.ini.default php.ini 重新定义了mysql.sock的配置,居然生效了。
这是怎么回事?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn