使用PHP-Beast加密你的PHP源代码
使用PHP-Beast加密你的PHP源代码,liinux输入下面命令,一行一条
wget https://github.com/liexusong/php-beast/archive/master.zip unzip master.zip cd php-beast-master /usr/local/php/bin/phpize ./configure --with-php-config=/usr/local/php/bin/php-config ./configure make sudo make install
在php.ini尾部添加:
[PHP-Beast]
extension_dir =/www/wdlinux/apache_php-5.5.38/lib/php/extensions/no-debug-non-zts-20121212
extension=beast.so
后重启web服务即可;
php使用加密方法:
$input_file = './index.php'; $output_file = './index_jm.php'; beast_encode_file($input_file, $output_file);
Dcr163的博客
http://dcr163.cn/177.html(转载时请注明本文出处及文章链接)