sean finney on 15 May 2008 23:01:48 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Apache2 zip support


hiya,

On Thursday 15 May 2008 08:59:40 am Doug Crompton wrote:
>  The command line PHP is
>
> doug@bridget:~> php -v
> PHP 5.1.4 (cgi) (built: Jun 23 2006 23:36:48)
> Copyright (c) 1997-2006 The PHP Group
> Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
>
> and the PHP version reported with phpinfo from my apache server is 5.2.0

that's wierd.  i can't imagine suse would ship two seperate versions of php in 
the same release.  it hard enough to support even one version of php in a 
release.  i would check that all of your packages are up to date.  it's quite 
possible that the cli php is provided by a seperate package, php-cli or 
php5-cli or similar.

> Are these two different entities? How do I upgrade or add/enable ZLIB in
> the server PHP?

i'm not sure whether you want zip support or zlib support, since you've 
mentioned both, but for both the answer is that i believe they are both 
comple-time options:

--enable-zip
--with-zlib
--with-zlib-dir=/usr

are the relevant ./configure options from the debian package anyway, and a 
build dependency on the zlib dev package.

as i've said before,  it's possible that it's also provided as an extension 
via a seperate package (or pecl, if you want to try and shortcut needing to 
rebuild the entire php tree).


	sean

Attachment: signature.asc
Description: This is a digitally signed message part.

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug