zlib - coolstack solaris 10

Hello,

I have installed CSKamp to run joomla which requires zlib.

On my Joomla instalation page it says:

- zlib compression supportUnavailable

on a php info page I see in configure command:

--with-zlib=shared,/usr

...but nowhere else on page.

Does a default CSKamp install provide the php-zlib extensions?

I am running a sol10x86 11/06 (core group installation) via serial console.

I have installed SUNWzlib, SUNWgcc, SUNWgcmn, SUNWgccruntime pkgs from the install cd.

I appreciate any help.

Thanks

[571 byte] By [philBrowna] at [2007-11-27 6:34:20]
# 1

OK - I have installed CSKamp on a full install of OpenSolaris Dev Edition and STILL no zlib...

I assume... zlib has to be compiled into php.

Can someone please verify this and if they have any hints, tips, pointers etc. on achieving this it would be greatly appreciated.

thanks

philBrowna at 2007-7-12 18:00:40 > top of Java-index,Open Source Technologies,OpenSPARC...
# 2

I have downloaded src.pkg and installed...

I have read notes for coolstack and it it says it is far better to use phpize rather than a full rebuild. as the readme gives no phpize insructions i have googled for docs on "phpize and coolstack" and have found nothing.

mind you i found no instructions to recompile either.

philBrowna at 2007-7-12 18:00:40 > top of Java-index,Open Source Technologies,OpenSPARC...
# 3
You're right - somehow zlib isn't working even though the extension exists and the configure line does include it. We'll look into it.As far as not being able to figure out how to build with the source, please download and read the pdf doc.Shanti
shantiSa at 2007-7-12 18:00:40 > top of Java-index,Open Source Technologies,OpenSPARC...
# 4

Did you remember to include 'extension=zlib.so' in your php.ini ?

On x86, a phpinfo gives me the following, so zlib does exist :

Registered PHP Streams => php, file, data, compress.zlib

Registered Stream Filters => string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, zlib.*

zlib

Stream Wrapper support => compress.zlib://

Stream Filter support => zlib.inflate, zlib.deflate

zlib.output_compression => Off => Off

zlib.output_compression_level => -1 => -1

zlib.output_handler => no value => no value

Shanti

shantiSa at 2007-7-12 18:00:40 > top of Java-index,Open Source Technologies,OpenSPARC...
# 5

Hi Shanti,

Thank you for your replies.

With a few days to look through the materials and forums I have got it going with your suggestions.

The pdf doc is quite limited however the many insightful posts by yourself on this forum has enabled me to achieve my goal.

The solution was as simple as the extension="zlib.so" so I hope your insight may help all who choose to set up joomla on a coolstack pack.

Kind regards,

Philip

philBrowna at 2007-7-12 18:00:40 > top of Java-index,Open Source Technologies,OpenSPARC...