Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error: Call to undefined function msgpack_pack() #57

Closed
ronaldo-systemar opened this issue Aug 24, 2015 · 1 comment
Closed

Fatal error: Call to undefined function msgpack_pack() #57

ronaldo-systemar opened this issue Aug 24, 2015 · 1 comment

Comments

@ronaldo-systemar
Copy link

I got this .dll/binary that matches my current php version, load works, as you can see (phpinfo()):

MessagePack Support enabled
Session Support enabled
extension Version 0.5.5
header Version 0.5.4

Directive Local Value Master Value
msgpack.error_display On On
msgpack.illegal_key_insert Off Off
msgpack.php_only On On

But when I try to to call msgpack_pack() i got a fatal error telling me the function does not exist.

Link of .dll: http://windows.php.net/downloads/pecl/releases/msgpack/0.5.5/php_msgpack-0.5.5-5.5-ts-vc11-x64.zip

PHP version is 5.5.12 running on windows

@ronaldo-systemar
Copy link
Author

I fixed it. Composer not loading the extension cuz it's no stable. If someone get this issue, it's easy to fix, put the following in your composer.json:

"minimum-stability": "dev",
"prefer-stable": true,**
"require": {
     ...
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant