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

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

WBOY
Release: 2016-06-13 12:30:33
Original
866 people have browsed it

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

--with-mysql-sock=/var/mysql/mysql.sock
Copy after login

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template