Matthew Seaman wrote:
On Wed, Mar 17, 2004 at 11:11:05AM +0100, Heinrich Rebehn wrote:

Hi list,

I have trouble running apache with php4.
when i try to start httpd, it crashes with signal 11.
If i remove php4 from httpd.conf, apache runs fine.
Installed packages:

apache+mod_ssl-1.3.29+2.8.16_1 The Apache 1.3 webserver with SSL/TLS functionality
php4-4.3.4_7 PHP Scripting Language (Apache Module and CLI)
php4-horde-4.3.4_7 A default PHP configured for the Horde framework


Any ideas?


This often comes about because one of the 3rd party apache loadable
modules you're using is looking for a shared library which it cannot
find.

Try this:

    # cd /usr/local/libexec/apache
    ldd ./libphp4.so

If there are any shared libraries 'not found' then you need to either
install them, or use 'ldconfig -m dirname' to add the correct
directories to the systems list of places to find shared libraries.
To make that persist across reboots, ad the directories to the end of
the list given for the 'ldconfig_paths' variable in /etc/rc.conf (take
care when doing that, as if you screw up ldconfig, then virtually
nothing will work on your system).

Hmmm... looking at the port Makefiles, I don't think you should be
able to install both lang/php4 and lang/php4-horde simultaneously.
However, so long as you compile php4 with at least the settings:

    WITH_DOMXML=    yes
    WITH_GETTEXT=   yes
    WITH_SESSION=   yes
    WITH_MCRYPT=    yes
    WITH_MYSQL=     yes
    WITH_OPENLDAP=  yes
    WITH_IMAP=      yes
    WITH_MCAL=      yes
    WITH_FTP=       yes

then you can use either one of those ports.

Cheers,

Matthew


Hi Matthew,


this is the ldd output:

[EMAIL PROTECTED] [/usr/local/libexec/apache] # ldd ./libphp4.so
./libphp4.so:
libcrypto.so.3 => /lib/libcrypto.so.3 (0x282f2000)
libssl.so.3 => /usr/lib/libssl.so.3 (0x28400000)
libcrypt.so.2 => /lib/libcrypt.so.2 (0x28432000)
libmcal.so => /usr/local/lib/libmcal.so (0x2844b000)
libc-client4.so.8 => /usr/local/lib/libc-client4.so.8 (0x2845a000)
libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28513000)
libexpat.so.5 => /usr/local/lib/libexpat.so.5 (0x28602000)
libpq.so.3 => /usr/local/lib/libpq.so.3 (0x28622000)
libmysqlclient.so.12 => /usr/local/lib/mysql/libmysqlclient.so.12 (0x2863d000)
libmcrypt.so.8 => /usr/local/lib/libmcrypt.so.8 (0x28660000)
libltdl.so.4 => /usr/local/lib/libltdl.so.4 (0x28693000)
libldap.so.2 => /usr/local/lib/libldap.so.2 (0x2869b000)
liblber.so.2 => /usr/local/lib/liblber.so.2 (0x286c3000)
libpam.so.2 => /usr/lib/libpam.so.2 (0x286ce000)
libintl.so.6 => /usr/local/lib/libintl.so.6 (0x286d5000)
libz.so.2 => /lib/libz.so.2 (0x286de000)
libm.so.2 => /lib/libm.so.2 (0x286ec000)
libxml2.so.5 => /usr/local/lib/libxml2.so.5 (0x28705000)
libc_r.so.5 => /usr/lib/libc_r.so.5 (0x287fd000)


I have also deinstalled php4 and php4-horde and then reinstalled php4.
Still no luck :-( httpd still crashes with signal 11

This whole setup used to work once, but since some portupgrade or 4.9 -> 5.2.1 httpd crashes.

Heinrich

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to