PHP cli模式下提醒 Module 'xxx' already loaded

WBOY
Release: 2016-06-13 11:54:46
Original
830 people have browsed it

PHP cli模式下提示 Module 'xxx' already loaded

今天在终端下执行PHP脚本爆出 Module 'sqlite3' already loaded ,仔细检查没有找到问题,在网上搜索大致给出

?

出现上面错误的原因是,外部动态库加载有两种方式,一种是通过编译指定 -ldl 将外部extension目录直接编译进php,另一种是通过php的ini文件指定,这里的错误指示出外部动态链接库已经被编译进php了,还在 php.ini指定,因而出错。打开php.ini文件,注释.

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!