php5.5动态加载扩展库失败

WBOY
Release: 2016-06-23 13:50:12
Original
891 people have browsed it

大家好:
         我通过交叉编译,升级了php的版本,我们原来的php扩展库是通过动态链接库的形式加载的,也就是说只在php.ini文件下增加了扩展路径和名称,并没有在代码中dl()加载扩展库。
          现在的问题是,这个php版本升级上去之后并没有加载到扩展库,php.ini文件也正常。请教一下各位,不胜感激


回复讨论(解决方案)

有人么?求助!

php 的扩展是与主文件版本绑定的
即扩展需与主文件一起编译

3楼的兄弟。我们之前的方法就是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!