Comments (6)
你可以在配置文件没有加入扩展,或者载入的配置文件路径错了
from php-beast.
Thanks!
我在 /etc/php/7.0/apache2/php.ini 中已经添加的了extension=beast.so,
/home/ninja/Project/php-beast-master/tools/configure.ini
; source path
src_path = "/var/www/www/web_werouter/app"
; destination path
dst_path = "/home/ninja/Project/"
; expire time
expire = "2017-03-09 10:40:00"
; encrypt type
encrypt_type = "DES"
@liexusong 这个 soure path 和 dst path 是要指定某个文件 还是某个目录?
from php-beast.
目录
from php-beast.
我也是同样的问题:
环境:
CentOS Linux release 7.3.1611
nginx version: nginx/1.12.0
PHP 5.6.30 (cli) (built: May 31 2017 09:43:17)
模块已载入:
extension_dir=/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/
extension=beast.so
[root@www tools]# php encode_files.php
Source code path: /data/www
Destination code path: /data/beast
Expire time: 2099-12-31
------------- start process -------------
Fatal error: Call to undefined function beast_encode_file() in /data/php-beast-master/tools/encode_files.php on line 78
from php-beast.
您好,我也出现了这种问题,编译是没有报错,使用info.php,可以看到扩展已经安装了的信息。
环境:ubutun 14.04,apache2.4 php.5.6
按照readme中的步骤走,是否还有什么特殊的地方需要注意的,需要添加哪些库文件?gcc的版本最好使用哪个?@liexusong,@ejngnng谢谢
from php-beast.
使用php -c your_conifg_path/php.ini encode_files.php 可以解决这个问题.
from php-beast.
Related Issues (20)
- 7.4.2安装成功,加密时报错 HOT 1
- 这项目还在维护吗? HOT 1
- key 必须满足这个条件吗 HOT 1
- Compiling BEAST from PHp8 failed HOT 2
- Yii2 框架加密后,请求返回了加密后的文件
- 什么时候支持 PHP8 呢? HOT 7
- cli清楚缓存beast_clean_cache函数无效,且不清除定义的有效期无效
- 安装php-beast扩展后导致所有phar执行出现11退出码
- Any private version ?
- 给客户部署时的操作流程应该是什么样的 HOT 4
- PHP7.4不支持吗?我的PHP版本是7.4.8,编译提示execinfo.h头文件不存在
- 项目打包成phar后进行加密出错! HOT 1
- 支持编译php8版本的php-beast.dll吗?
- 有php7.3或者php7.4的Windows DLL吗 HOT 1
- 加密条件加上mac地址咋实现呢?
- 这个能加密thinkphp6的项目吗?要如何做到 HOT 2
- 加密yii2或thinkphp的某个控制器类后,访问都会报错
- PHP8不支持TSRMLS_DC 和 TSRMLS_CC
- docker php环境是alpine,即使安装成功了 也无法使用beast扩展
- 这个项目还在维护吗
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-beast.