Comments (6)
config.m4 对于 msgpack 的判断有问题。。。
from yac.
我本地不能重现, 你们具体是怎么编译的?
from yac.
我就是标准的动态 so 编译。
编译的时候不会出错,执行的时候会出错,原因就是你没有 msgpack 扩展,但是 config 认为你有,结果 serializer 就默认使用了 msgpack,但是确实没有,所以一执行就会出错了。
我尝试过,把 config.m4 里有关 msgpack 的判断去掉,就可以了。应该是 config.m4 里的判断条件不够严谨导致的。
from yac.
是的,编译安装没有任何错误,但没有正常被加载,检查扩张时出现 如 'pup -m'就能看到报错,再安装msgpack扩展就正常了
发自我的 iPad
在 2014年2月25日,14:42,paulgao [email protected] 写道:
编译的时候不会出错,执行的时候会出错,原因就是你没有 msgpack 扩展,但是 config 认为你有,结果 serializer 就默热使用 msgpack,但是确实没有,所以执行就会出错了。
我尝试过,把 config.m4 里有关 msgpack 的判断去掉,就可以了。—
Reply to this email directly or view it on GitHub.
from yac.
@laruence
只要你不安msgpack扩展,然后动态编译yac,config.m4中的 if test "$PHP_MSGPACK" != 'no'
为 true,最后config.h里面的 ENABLE_MSGPACK 为 1,导致yac使用msgpack来进行序列化。
configure的时候可以加上PHP_MSGPACK=no ./configure
,这样就不用装msgpck了。当然装上msgpck也可以解决这个问题。
from yac.
恩, 我先把那个注释掉.
from yac.
Related Issues (20)
- 请问yac的info其中几个字段的含义 HOT 1
- 【建议】get新增支持获取多维数组的某一项 HOT 1
- [2.1.0] Broken build on 32-bit HOT 2
- Serializer choice at runtime HOT 2
- Cli模式下,获取不到缓存,每次执行都在写缓存,是需要特殊配置吗? HOT 2
- 为什么ipcs -m查不到yac的共享内存,但是能访问到key,那要怎么查看呢 HOT 2
- How can I get the actual value memory usage? HOT 1
- 亲测是支持PHP8的,充分证明当年代码质量和写时考虑周全。 HOT 1
- 文档中的常量名称错误 HOT 2
- 请问通过哪个参数可以控制给yac分配的最大内存? HOT 1
- 使用 Yac 2.0.2 时出现了缓存不一致的问题 HOT 6
- PHP8.1.1+yac-2.3.1 开启 msgpack压缩报错 HOT 3
- Use in different processes HOT 5
- ab test yac poor performance than only use redis HOT 2
- win64环境安装yac扩展报错 HOT 1
- yac的info其中几个含义能说下么? HOT 1
- php7.3.1 install error
- wsl ubuntu16.04 php7.3.3 使用pecl 安装yac2.0.2 报错 recipe for target 'yac.lo' failed HOT 1
- php 7.3.4 make 错误 HOT 2
- closed
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 yac.