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

try to compile from source by zts-phpize #150

Closed
ooghry opened this issue Jun 24, 2020 · 2 comments
Closed

try to compile from source by zts-phpize #150

ooghry opened this issue Jun 24, 2020 · 2 comments

Comments

@ooghry
Copy link

ooghry commented Jun 24, 2020

Hello
As you can see in my gist: zts-php 7.2 msgpack 2.1.0
I try use msgpack in zts mode,almost every things is ok but module could not load with this error message:
msgpack.so: undefined symbol: ps_globals

no problem with non-zts php.

@m6w6
Copy link
Collaborator

m6w6 commented Jun 25, 2020

Hi! You need to point configure to the ZTS php-config, e.g. ./configure --with-php-config=/path/to/zts-php/bin/php-config

HTH

@ooghry
Copy link
Author

ooghry commented Jun 25, 2020

It works,Thank you.

@ooghry ooghry closed this as completed Jun 25, 2020
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

2 participants