美文网首页
php 源码安装 php_screw_plus 扩展

php 源码安装 php_screw_plus 扩展

作者: youngboyliwenyu | 来源:发表于2021-02-19 16:01 被阅读0次

php 源码安装 php_screw_plus 扩展

1、下载php_screw_plus源码到本地

git clone https://git.oschina.net/splot/php-screw-plus.git

2、更新 zlib-develop 和 gcc 编译器

yum -y install zlib-devel gcc

3、编译 php_screw_plus

/usr/bin/phpize
./configure --with-php-config=/usr/bin/php-config
#没报错就继续
make && make install

#编译加密程序
cd tools
make
cp screw /usr/bin

4、使用

加密:
screw 目录或单文件,
screw /root/www/projectxxx

解密:
screw 目录或单文件 -d

相关文章

网友评论

      本文标题:php 源码安装 php_screw_plus 扩展

      本文链接:https://www.haomeiwen.com/subject/nypaxltx.html