Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jul 2004 05:20:13 GMT
From:      Vadim Mikhailov <freebsd-bugs@mikhailov.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/69464: php4-wddx broken - php4 cannot load wddx.so
Message-ID:  <200407230520.i6N5KDXe051535@www.freebsd.org>
Resent-Message-ID: <200407230530.i6N5UKRP046473@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         69464
>Category:       ports
>Synopsis:       php4-wddx broken - php4 cannot load wddx.so
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 23 05:30:19 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Vadim Mikhailov
>Release:        5.2.1-RELEASE-p9
>Organization:
>Environment:
FreeBSD vortex.xxx.com 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #0: Tue Jul  6 14:50:30 PDT 2004     mvp@vortex.xxx.com:/usr/obj/usr/src/sys/VORTEX  i386
>Description:
      After complete reinstall of apache2, php4 and php4-extensions as of July 22, 2004, PHP does not seem to be able to use new wddx.so.
I moved all extension=xxx.so lines from the bottom of php.ini where they were errorneously put by php4-extensions installer to the correct section. Now my /usr/local/etc/php.ini looks like this:

extension=ctype.so
extension=imap.so
extension=openssl.so
extension=pgsql.so
extension=pcre.so
extension=posix.so
extension=session.so
extension=tokenizer.so
extension=zlib.so
extension=bcmath.so
extension=calendar.so
extension=exif.so
extension=ftp.so
extension=gd.so
extension=gettext.so
extension=imagick.so
extension=ldap.so
extension=mcrypt.so
extension=mhash.so
extension=mysql.so
extension=overload.so
extension=readline.so
extension=shmop.so
extension=xmlrpc.so
extension=xml.so
extension=wddx.so

Now after I restart apache all modules work fine except wddx.so.
PHP spits this in apache httpd-error.log:

PHP Warning:  Unknown(): Invalid library (maybe not a PHP library) 'wddx.so'  in Unknown on line 0
[Thu Jul 22 19:33:23 2004] [notice] Apache/2.0.50 (FreeBSD) PHP/4.3.8 mod_ssl/2.0.50 OpenSSL/0.9.7d configured -- resuming normal operations

WDDX also does not show up in phpinfo output.
If I comment out wddx.so in php.ini, I don't see this warning, and phpinfo() confirms that all other PHP modules are loaded ok.
>How-To-Repeat:
      cvsup ports as of July 22, 2004 on FreeBSD system, install apache2, php4 and php4-wddx ports. Start apache and see httpd-error.log that wddx.so cannot be properly loaded. Any other PHP module works.
>Fix:
      I think compiling in WDDX statically should work, at least it used to work for me just week ago.
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407230520.i6N5KDXe051535>