Coder Social home page Coder Social logo

Comments (6)

liexusong avatar liexusong commented on July 21, 2024

你可以在配置文件没有加入扩展,或者载入的配置文件路径错了

from php-beast.

ejngnng avatar ejngnng commented on July 21, 2024

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.

liexusong avatar liexusong commented on July 21, 2024

目录

from php-beast.

ai400 avatar ai400 commented on July 21, 2024

我也是同样的问题:
环境:
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.

shanggun avatar shanggun commented on July 21, 2024

您好,我也出现了这种问题,编译是没有报错,使用info.php,可以看到扩展已经安装了的信息。
环境:ubutun 14.04,apache2.4 php.5.6
按照readme中的步骤走,是否还有什么特殊的地方需要注意的,需要添加哪些库文件?gcc的版本最好使用哪个?@liexusong,@ejngnng谢谢

from php-beast.

shanggun avatar shanggun commented on July 21, 2024

使用php -c your_conifg_path/php.ini encode_files.php 可以解决这个问题.

from php-beast.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.