Notes |
|
(0009630)
|
bwalton
|
2012-02-22 15:16
|
|
Hello,
Do you have CSWphp5-zip installed? Many of the modules were split out to separate packages by the previous maintainer. I do aim to make this nicer in the future but haven't done so yet.
Thanks
-Ben |
|
|
(0009631)
|
weyhmueller
|
2012-02-22 15:20
|
|
Hi Ben,
CSWphp5-zip is installed.
Regards
Oliver |
|
|
(0009632)
|
bwalton
|
2012-02-22 15:27
|
|
Hi Oliver,
Is extension=zip.so uncommented in /etc/opt/csw/php5/php.ini? This is supposed to happen at package install time, but maybe the handler isn't working?
Thanks
-Ben |
|
|
(0009633)
|
weyhmueller
|
2012-02-22 15:29
|
|
Hi Ben,
zip.so is also activated. But from my understanding this is a different module the zlib.so.
Regards
Oliver |
|
|
(0009641)
|
bwalton
|
2012-02-23 02:28
|
|
Hi Oliver,
The sample program here[1] works fine on my system. What version of the packages are you running? Which solaris release? Which OpenCSW catalog are you running?
Thanks
-Ben
[1] http://www.php.net/manual/en/zlib.examples.php [^] |
|
|
(0009642)
|
weyhmueller
|
2012-02-23 05:59
|
|
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 |
|
|
(0009655)
|
bwalton
|
2012-02-24 02:34
|
|
Ah! That's the trouble. I tried to decrease the build time by only building modules once. I'll need to ensure that the parts that don't get split out to separate modules are included in every build. Rolling an update now. |
|
|
(0009728)
|
bwalton
|
2012-03-15 01:32
|
|
|
|
(0009764)
|
bwalton
|
2012-03-25 04:54
|
|
Updated packages pushed to unstable. |
|