[bug-notifications] [php5 0004904]: missing php5_zlib module
Mantis Bug Tracker
noreply at opencsw.org
Thu Feb 23 05:59:37 CET 2012
A NOTE has been added to this issue.
======================================================================
https://www.opencsw.org/mantis/view.php?id=4904
======================================================================
Reported By: weyhmueller
Assigned To: bwalton
======================================================================
Project: php5
Issue ID: 4904
Category: packaging
Reproducibility: always
Severity: minor
Priority: normal
Status: feedback
======================================================================
Date Submitted: 2012-02-22 15:08 CET
Last Modified: 2012-02-23 05:59 CET
======================================================================
Summary: missing php5_zlib module
Description:
I am missing the zlib module and the functions that it provides.
e.g : "PHP Fatal error: Call to undefined function gzdeflate() in
/var/opt/csw/nginx/simplesamlphp-1.8.2/lib/SAML2/HTTPRedirect.php on line
36"
Is there a specific reason why this is not available?
======================================================================
----------------------------------------------------------------------
(0009642) weyhmueller (reporter) - 2012-02-23 05:59
https://www.opencsw.org/mantis/view.php?id=4904#c9642
----------------------------------------------------------------------
Hi Ben,
I am using the OpenCSW Testing branch on an Solaris 10 10/09 System. I
currently have CSWphp5-5.3.10,REV=2012.02.10.
I just tried that example on command line and was rather surprised that it
worked well. But it gave me warnings because the pdo and dom modules
weren't loaded - which i disabled from php.ini because yesterday i got
warnings of them loaded twice. I then did a phpinfo there (on cli) and got
that configure command:
'/home/bwalton/opencsw/php5/trunk/work/solaris10-sparc/build-isa-sparcv8plus-sapi-ap2/php-5.3.10/configure'
'--prefix=/opt/csw/php5' '--sysconfdir=/etc/opt/csw/php5'
'--enable-simplexml' '--disable-static' '--enable-xml' '--enable-intl'
'--with-libxml-dir=/opt/csw' '--with-config-file-path=/etc/opt/csw/php5'
'--with-config-file-scan-dir=/etc/opt/csw/php5/conf.d'
'--enable-bcmath=shared' '--enable-calendar=shared' '--enable-cli'
'--enable-ctype=shared' '--enable-dba=shared' '--enable-dom=shared'
'--enable-exif=shared' '--enable-filter=shared' '--enable-ftp=shared'
'--enable-gd-jis-conv' '--enable-gd-native-ttf' '--enable-hash=shared'
'--enable-json=shared' '--enable-magic-quotes' '--enable-mbstring=shared'
'--enable-pcntl=shared' '--enable-pdo=shared' '--enable-phar=shared'
'--enable-posix=shared' '--enable-session=shared' '--enable-shmop=shared'
'--enable-soap=shared' '--enable-sockets=shared' '--enable-sqlite-utf8'
'--enable-sysvmsg=shared' '--enable-sysvsem=shared'
'--enable-sysvshm=shared' '--enable-tokenizer=shared'
'--enable-wddx=shared' '--enable-xmlreader=shared'
'--enable-xmlwriter=shared' '--enable-zip=shared'
'--with-apxs2=/opt/csw/apache2/sbin/apxs' '--with-bz2=shared,/opt/csw'
'--with-curl=shared,/opt/csw' '--with-curlwrappers'
'--with-db4=/opt/csw/bdb4' '--with-exec-dir=/opt/csw/php5/bin'
'--with-freetype-dir=/opt/csw' '--with-gd=shared,/opt/csw'
'--with-gdbm=/opt/csw' '--with-gettext=shared,/opt/csw'
'--with-gmp=shared,/opt/csw' '--with-iconv=shared,/opt/csw'
'--with-imap-ssl=/opt/csw' '--with-imap=shared,/opt/csw'
'--with-jpeg-dir=/opt/csw' '--with-kerberos=/opt/csw'
'--with-ldap-sasl=/opt/csw' '--with-ldap=shared,/opt/csw'
'--with-libedit=no' '--with-libexpat-dir=/opt/csw'
'--with-mcrypt=shared,/opt/csw' '--with-mhash=shared,/opt/csw'
'--with-mm=/opt/csw' '--with-mssql=shared,/opt/csw'
'--with-mysql=shared,/opt/csw'
'--with-mysqli=shared,/opt/csw/bin/mysql_config-5.0' '--with-ndbm'
'--with-openssl=shared,/opt/csw' '--with-pcre-dir=/opt/csw'
'--with-pcre-regex' '--with-pdo-mysql=shared,/opt/csw/bin/mysql_config-5.0'
'--with-pdo-odbc=shared,unixODBC,/opt/csw'
'--with-pdo-pgsql=shared,/opt/csw/postgresql'
'--with-pdo-sqlite=shared,/opt/csw' '--with-pear=shared'
'--with-pgsql=shared,/opt/csw/postgresql' '--with-png-dir=/opt/csw'
'--with-pspell=shared,/opt/csw' '--with-readline=shared,/opt/csw'
'--with-snmp=shared,/opt/csw' '--with-sqlite=shared,/opt/csw'
'--with-t1lib=/opt/csw' '--with-tidy=shared,/opt/csw'
'--with-unixODBC=shared,/opt/csw' '--with-xmlrpc=shared'
'--with-xpm-dir=/opt/csw' '--with-xsl=shared,/opt/csw'
'--with-zlib-dir=/opt/csw' '--with-zlib=/opt/csw'
But for web sites I am using php-cgi as a fastcgi-server behind an nginx
webserver. So i did an phpinfo there as well.
The configure line on php-cgi is completely different:
'/home/bwalton/opencsw/php5/trunk/work/solaris10-sparc/build-isa-sparcv8plus-sapi-cgi/php-5.3.10/configure'
'--prefix=/opt/csw/php5' '--sysconfdir=/etc/opt/csw/php5'
'--enable-simplexml' '--disable-static' '--enable-xml' '--enable-intl'
'--with-libxml-dir=/opt/csw' '--with-config-file-path=/etc/opt/csw/php5'
'--with-config-file-scan-dir=/etc/opt/csw/php5/conf.d'
Also /opt/csw/php5/bin/php-cgi was built one day earlier that
/opt/csw/php5/bin/php according to phpinfo output.
When I compiled php the last time myself (some years ago) i think i did
just one configure / make / make install to get both executables with
identical configuration.
Regards
Oliver
More information about the bug-notifications
mailing list