做过工商银行B2C支付接口开发的朋友来帮帮看看

WBOY
Release: 2016-06-20 12:35:12
Original
1827 people have browsed it

用工行给的demo做测试,但是总是报错:
Warning: dl() [function.dl]: Not supported in multithreaded Web servers - use extension=php_infosec.dll in your php.ini 
然后我在php.ini里面加了“extension=php_infosec.dll”,把工行提供的php_infosec.dll文件放到扩展目录下,重启apache,还是报这个错
我通过phpinfo查找,发现infosec这个模块一直没有加载上,请问是什么原因?
我的环境是wamp   apache 2.0  php 5.2.6


回复讨论(解决方案)

没用过 给你提个思路

php_infosec.dll的版本号是否适合你的PHP 很关键

另外如果你用的是"wamp"这个集成环境软件的话   可以放进去以后重启这个软件 然后在软件托盘图标上点,查看是否自动识别了这个扩展 然后打上勾.

5.2.6....这 PHP 版本够古董啊

楼主,你确定把php_infosec.dll这个放到你的php扩展文件夹下面了?
那你看看apache服务的日志吧,一般dll加载失败或者未加载都会在日志里面的。
若是dll存在未加载,那就是版本问题。那你查一下银行有没有强调php版本啥的,操作系统位数等等。。。

php5.2版本还要放到系统盘System32下面

http://www.wampserver.com/   php高版本的集成环境可以到这里下载

php_infosec.dll 这个是你自己开发的吗?直接安装到PHP环境吧

用绝对路径....

php实现工商银行在线支付接口
http://3aj.cn/article/305.html

亲,解决了么?求交流!!!

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!