PLease help - I am deperately sinking in a sea of Linux

We have purchased a RAQ4i which comes pre-installed with PHP 4.0.3pl1. There was a flag we needed at compile time (--enable-trans-sid) which was not set. As we could not find the source of PHP on the server, we decided to upgrade to php-4.2.1

The process looked easy enough - Download, extract, configure (as a dynamic module), make and then make install.

The Original PHP was configured using:

./configure --prefix=/usr --with-apxs=/usr/sbin/apxs --with-gd --with-gettext=/usr --enable-safe-mode --with-config-file-path=/etc/httpd --with-exec-dir=/usr/bin --with-zlib --enable-magic-quotes --with-regex=system --with-ttf=/usr/lib/libttf.so --enable-track-vars --enable-xml --disable-debug --with-db3 --with-interbase=shared --with-pgsql=shared --with-ldap --with-imap --enable-trans-sid

We used:

./configure --prefix=/usr --with-apxs=/usr/sbin/apxs --with-gd --with-gettext=/usr --enable-safe-mode --with-config-file-path=/etc/httpd --with-exec-dir=/usr/bin --with-zlib --enable-magic-quotes --with-regex=system --with-ttf=/usr/lib/libttf.so --enable-track-vars --enable-xml --disable-debug --with-ldap --with-imap --enable-trans-sid

However nothing works now (even the webserver). We only have telnet facilites.

When we remove the lines:
LoadModule php4_module /usr/lib/apache/libphp4.so

and

AddModule mod_php4.c

and reboot, the server works but with no php functionality.

Any ideas? The libphp4.so exists and is in that directory although we cannot find the mod_php4.c.

mod_so.c is running.

Thanks in advance for any help.

Drew

    Write a Reply...