Giter VIP home page Giter VIP logo

Comments (14)

webcpp avatar webcpp commented on September 17, 2024

readme有安装php7的说明啊

from hi-nginx.

nggegeya avatar nggegeya commented on September 17, 2024

About php7+ install

Please change configure :

ac_fn_c_check_decl "$LINENO" "isfinite" "ac_cv_have_decl_isfinite" "#include <math.h>
"
if test "x$ac_cv_have_decl_isfinite" = xyes; then :
ac_have_decl=0
else
ac_have_decl=0
fi

from hi-nginx.

nggegeya avatar nggegeya commented on September 17, 2024

这个改configure,是哪个configure,是增加还是覆盖?改完之后执行configure么?

from hi-nginx.

webcpp avatar webcpp commented on September 17, 2024

改完之后执行configure。
如果是only-php分支,不需要改。

from hi-nginx.

nggegeya avatar nggegeya commented on September 17, 2024

看不太懂怎么改,用onlyphp分支下的 configure覆盖master 然后编译可以吗?

from hi-nginx.

webcpp avatar webcpp commented on September 17, 2024

很容易该的。搜索ac_cv_have_decl_isfinite
会找到相关位置。把ac_have_decl=1的改为等于0即可。
两处均要等于0.

from hi-nginx.

webcpp avatar webcpp commented on September 17, 2024

如果只是用php,直接用only-php分支。

from hi-nginx.

nggegeya avatar nggegeya commented on September 17, 2024

cpp的编译通过了,想做一个不带php的分支,需要注意修改哪些文件呢?

from hi-nginx.

webcpp avatar webcpp commented on September 17, 2024

切换到onlycpp分支

from hi-nginx.

webcpp avatar webcpp commented on September 17, 2024

只有master分支要改php7安装部分的脚本,其他分支都无需改。

from hi-nginx.

nggegeya avatar nggegeya commented on September 17, 2024

/usr/bin/ld: 找不到 -lphp7
这个make报错是 我没编译好php么? debian已经make install 了php7.0

from hi-nginx.

nggegeya avatar nggegeya commented on September 17, 2024

带php的 编译太难了

from hi-nginx.

webcpp avatar webcpp commented on September 17, 2024

configure php7 时要使用--enable-embed选项

from hi-nginx.

webcpp avatar webcpp commented on September 17, 2024

https://yq.aliyun.com/articles/278690

from hi-nginx.

Related Issues (16)

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.