Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Add zlib support #9

Closed
soudmaijer opened this issue Jan 10, 2014 · 3 comments
Closed

Add zlib support #9

soudmaijer opened this issue Jan 10, 2014 · 3 comments

Comments

@soudmaijer
Copy link

Hi,

is it possible to add zlib support to the php binary. Or is there a way to do it myself?

I tried adding (compiled) zlib.so binaries to my /lib folder, but this does not work.

I also added the extension to the php.ini and enabled zlib, but no success.

@dmikusa
Copy link
Owner

dmikusa commented Jan 10, 2014

This appears to be an oversight on my part. It should have zlib support (--with-zlib). I've adjusted the build scripts so that future releases have it as a shared library. It should be available with PHP 5.5.7, since I've just added that release today. If you're using PHP 5.5, just update the version in your options.json file. As far as PHP 5.4.23, I've rebuilt that to include zlib support and if you're using PHP 5.4 just push your app again it should pick up that change. If you're using PHP 5.3, just updated the version in your options.json file to use version 5.3.28. That should also include zlib support.

One note on zlib support, I've compiled it as a shared library so you'll need to modify your php.ini file to enable that extension. Just add the following line in your extensions section.

extension=zlib.so

That should be it.

@dmikusa dmikusa closed this as completed Jan 10, 2014
@dmikusa
Copy link
Owner

dmikusa commented Jan 10, 2014

Oh, and thanks for the report!

@soudmaijer
Copy link
Author

Awesome, thanks for the ultra fast fix. Confirmed working after pushing my app again with php 5.4.

Thanks!

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

No branches or pull requests

2 participants