ID:               21151
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         Dynamic loading
 Operating System: Mandrake 9.0
 PHP Version:      4.3.0RC4
 New Comment:

#22131 has nothing to do with this issue..



Previous Comments:
------------------------------------------------------------------------

[2003-02-09 10:32:09] [EMAIL PROTECTED]

Just FYI: See bug #22131

------------------------------------------------------------------------

[2003-01-29 06:07:59] [EMAIL PROTECTED]

Between 4.2.3 and 4.3.0 (Mandrake 9.0) the ability to make zlib a
shared module BROKE.

Regardless if this module is small or not, the option exists to make it
a shared module for PHP.

It compiles fine, but it won't run:

[root@x1 apache]# apachectl start
Syntax error on line 62 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/lib/apache/libphp4.so into server:
/etc/httpd/lib/apache/libphp4.so: undefined symbol: zlib_globals
/usr/sbin/apachectl start: httpd could not be started
[root@x1 apache]#

Our configure script:

./configure \
--prefix=/usr/local \
--libexecdir=/usr/lib/apache \
--with-config-file-path=/usr/local/lib/php:/usr/local/lib:/etc \
--enable-discard-path \
--enable-bcmath=shared \
--enable-exif=shared \
--enable-ftp=shared \
--enable-sockets=shared \
--enable-track-vars \
--with-apxs \
--with-bz2=shared \
--with-gettext \
--with-xml=shared \
--with-gd=shared,/usr/local \
--with-freetype-dir=shared,/usr/local \
--with-jpeg-dir=shared \
--with-png-dir=shared \
--with-ldap=shared \
--with-pcre-regex=shared \
--with-zlib=shared,/usr \
--with-openssl=shared \
--with-pgsql=shared \
--with-mysql=shared,/usr \
--with-mnogosearch=shared,/usr/local/mnogosearch \
--with-snmp=shared \
--disable-ctype \
--without-aspell \
--without-db2 \
--without-db3 \
--without-pear

------------------------------------------------------------------------

[2003-01-13 12:16:22] [EMAIL PROTECTED]

Jean-Michel

Yes I am ;)

But if these extensions can't be built as a loadable dso, you shouldn't
be able to use "=shared". This is really extreme stuff and I doubt
people would use this configure line.

------------------------------------------------------------------------

[2003-01-07 10:27:49] [EMAIL PROTECTED]

Confirmed same issue on Solaris 8 for version 4.3.0.  I do agree that
zlib is not that large and can be compiled into php (hit after reading
that suggestion!) but still the option is there and does not work...

------------------------------------------------------------------------

[2003-01-03 02:26:36] [EMAIL PROTECTED]

Oden, you're a modularization maniac ;-)

Some extensions, like ftp, session, zlib and pcre should really remain
in the PHP core, since:
1) they don't need extra libraries (try to install an RPM without
libz.so ;-)
2) they are really small and don't add extra weigth to PHP
3) users need them and will complain if they're not installed by
default (trust me on this one!)

Jean-Michel

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/21151

-- 
Edit this bug report at http://bugs.php.net/?id=21151&edit=1

Reply via email to