Home > Backend Development > PHP Tutorial > linux下php中找不到php配置文件php.ini的解决方法

linux下php中找不到php配置文件php.ini的解决方法

WBOY
Release: 2016-06-23 13:52:01
Original
1257 people have browsed it

 自己编译安装的php经常会遇上这种问题,找不到php.ini。可以按照如下方法解决: 首先需要说明的是,如果你的php是编译安装的,那么默认是没有php.ini的,你必须自行去源码包里边拷贝。运行phpinfo()命令可以看到php指定的配置文件路径,把配置文件放到这个路径中即可。
Copy after login
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