Home > Backend Development > PHP Tutorial > php的chinapay扩充安装

php的chinapay扩充安装

WBOY
Release: 2016-06-13 10:29:39
Original
1533 people have browsed it

php的chinapay扩展安装

cp ~/chinapay/netpayclient.h /usr/local/include/chinapay.hcp ~/chinapay/libnpc.so /usr/local/lib/libchinapay.sochmod +x /usr/local/lib/libchinapay.so
Copy after login
可能是在/lib(/lib64) /usr/lib下面
准备chinapay的动态库和头文件
拷贝chinapay.def打php源码目录下的ext目录,
./ext_skel --extname=chinapay --proto=chinapay.def
Copy after login
生成php扩展的chinapay文件夹
拷贝做好的文件到生成的扩展目录
cp php_chinapay.h chinapay/cp chinapay.c chinapay/cp netpayclient.h chinapay/
Copy after login

Related labels:
lib
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