Skip to content

How to integrate php-zts 7.1 + pthreads + apache? #474

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

Closed
cesar-sebastian opened this issue Aug 7, 2017 · 3 comments
Closed

How to integrate php-zts 7.1 + pthreads + apache? #474

cesar-sebastian opened this issue Aug 7, 2017 · 3 comments

Comments

@cesar-sebastian
Copy link

Hello,

php-zts 7.1 + pthreads have a error however php-zts 7.0 + pthreads it's ok

Now I want to integrate with Apache, is this possible?

Thanks

@cesar-sebastian cesar-sebastian changed the title How integrate php-zts 7.1 + pthreads + apache? How to integrate php-zts 7.1 + pthreads + apache? Aug 7, 2017
@mikk150
Copy link
Contributor

mikk150 commented Aug 9, 2017

you should not put zts and apache as one image and nor you cannot, because pthreads does not work with any other SAPI than CLI see first big red box

which means since you cannot use it under apache anyways, just spin up two different containers, one with php7.1-zts and other with php7.1-apache2

@SmoshySmosh
Copy link

I tried this too... As it turns out, it was not a good idea. You can read about it here: #249

@tianon
Copy link
Member

tianon commented Dec 23, 2017

Closing, since there's now some great reference material here about why this shouldn't be done (which should be especially useful for future travelers). 👍 ❤️

@tianon tianon closed this as completed Dec 23, 2017
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

4 participants