最近在学习php,配置好php环境后,每次开机都有警告提示说 PHP startup。如下图: 显然这是个小问题,是关于php配置的。 解决这个问题很简单只需要在php.ini 文件中修改extension_dir配置就行。 把 ; extension_dir = ext 改为 extension_dir = D:/myphpenv
最近在学习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发现警告没有了。
分析原因这是因为在引入extension库时候出现的问题。
究其原因是因为在配置php.ini文件时候引入了一些加载不到的库或者有异常的库。
如:在上面配置中我开起了php_intl.dll。就在apache启动时候弹出警告
在关掉之后就没有了。关于这个问题我也比较想不通实际上我的php的ext文件夹下存在
php_intl.dll这个文件。
具体还在寻求解决中。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Dreamweaver CS6
Visual web development tools

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Zend Studio 13.0.1
Powerful PHP integrated development environment

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool