Home > php教程 > php手册 > php启动时候提示PHP startup的解决方法

php启动时候提示PHP startup的解决方法

WBOY
Release: 2016-06-13 11:52:47
Original
1236 people have browsed it

最近在学习php,配置好php环境后,每次开机都有警告提示说 PHP startup。如下图:

显然这是个小问题,是关于php配置的。
解决这个问题很简单只需要在php.ini 文件中修改 extension_dir配置就行。

复制代码 代码如下:


; extension_dir = "ext"


改为

复制代码 代码如下:


extension_dir = "D:/myphpenv/php5.4/ext"


其中D:/myphpenv/php5.4/为php安装目录。
重启apache发现警告没有了。
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 Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template