TypechoJoeTheme

Dcr163的博客

统计

使用PHP-Beast加密你的PHP源代码

2018-03-23
/
0 评论
/
869 阅读
/
正在检测是否收录...
03/23

使用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);


朗读
赞(0)
版权属于:

Dcr163的博客

本文链接:

https://dcr163.cn/177.html(转载时请注明本文出处及文章链接)

评论 (0)

人生倒计时

今日已经过去小时
这周已经过去
本月已经过去
今年已经过去个月

最新回复

  1. William Tardent
    2024-02-27
  2. Maryann Hamer
    2024-02-27
  3. Sanora Pantano
    2024-02-24
  4. aa
    2024-02-21
  5. Kassie Baum
    2024-01-28

标签云