天天看点

【转】使用screw plus对PHP源码加密

运行环境

  • ubuntu 14.04
  • php 5.6

源码地址

  • https://github.com/del-xiong/screw-plus
  • http://git.oschina.net/splot/php-screw-plus

操作步骤

详情请见:https://gitee.com/splot/php-screw-plus

以下仅对过程中出现的问题进行说明:

1、找不到 phpize 命令?

sudo apt-get install php5-dev
           

利用上述命令即安装了 phpize ,然后在对应的

php-screw-plus

下执行 phpize 即可。

2、php-config 路径找不到?

whereis php-config
           

利用上述命令搜索即可找到位置,进而执行 ./configure --with-php-config=[php-config] 即可