Hello,

I've got a virtual server hosted at tera-byte.com
 http://www.tera-byte.com/vir.html ]. On this server, the Ensim WEBBpliance
package [ http://www.ensim.com/products/webppliance/linux/3_0/index.html ]
has been installed running PHP 4.0.6 on Apache 1.3.19 / RedHat 7.1. Now I
wanted to upgrade to PHP 4.2.1 but the latest rpm available from RedHat was
version 4.0.6. :-(

Then I installed PHP 4.2.1 from source with the same configure command as
stated in my phpinfo() from 4.0.6:
----------------------------------------------------------------
 './configure' '--prefix=/usr' '--with-config-file-path=/etc'
'--disable-debug' '--enable-pic' '--enable-inline-optimization'
'--with-apxs=/usr/sbin/apxs' '--with-exec-dir=/usr/bin'
'--with-regex=system' '--with-gettext=shared' '--with-gd' '--with-flex'
'--with-jpeg-dir=/usr' '--with-png' '--with-ttf' '--with-zlib' '--with-db3'
'--with-gdbm' '--with-openssl' '--with-layout=GNU' '--enable-debugger'
'--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets'
'--enable-sysvsem=shared' '--enable-sysvshm=shared' '--enable-track-vars'
'--enable-yp' '--enable-ftp=shared' '--enable-wddx' '--without-mysql'
'--without-unixODBC' '--without-oracle' '--without-oci8'
---------------------------------------------------------------
After a lot of errors and installing serveral *-devel.rpm packages, my
server was finaly running PHP 4.2.1.

But when restarting Apache, I got some warnings about my PHP modules like:
----------------------------------------------------------------------------
-----
        PHP Warning:  imap: Unable to initialize module
        Module compiled with module API=20001222, debug=0, thread-safety=0
        PHP    compiled with module API=20020429, debug=0, thread-safety=0
        These options need to match in Unknown on line 0
        PHP Warning:  ldap: Unable to initialize module
        Module compiled with module API=20001222, debug=0, thread-safety=0
        PHP    compiled with module API=20020429, debug=0, thread-safety=0
        These options need to match in Unknown on line 0
----------------------------------------------------------------------------
-----
I suppose that was because of 'version conflicts' between PHP 4.2.1 and my
modules from 4.0.6. So I had to recompile PHP to compile new modules.

Then, after a lot of errors and installing serveral other *-devel.rpm
packages, 'configure' and 'make' finaly completed without any errors using
the following configure command:
------------------------------------------------------
'./configure' '--prefix=/usr' '--with-config-file-path=/etc'
'--disable-debug' '--enable-pic' '--enable-inline-optimization'
'--with-apxs=/usr/sbin/apxs' '--with-exec-dir=/usr/bin'
'--with-regex=system' '--with-gettext=shared' '--with-mysql' '--with-gd'
'--with-flex' '--with-jpeg-dir=/usr' '--with-png' '--with-ttf'
'--with-zlib=/usr' '--with-db3=/usr' '--with-gdbm' '--with-openssl=/usr'
'--with-imap=shared,/usr' '--with-kerberos=/usr' '--with-imap-ssl=/usr'
'--with-ldap=shared,/usr' '--with-pgsql=shared,/usr' '--with-layout=GNU'
'--enable-debugger' '--enable-magic-quotes' '--enable-safe-mode'
'--enable-sockets' '--enable-sysvsem=shared' '--enable-sysvshm=shared'
'--enable-track-vars' '--enable-yp' '--enable-ftp=shared' '--enable-wddx'
'--without-unixODBC' '--without-oracle' '--without-oci8'
----------------------------------------------------

But when doing 'make install' I got the following error:
---------------------------------------------------
Making install in .
make[1]: Entering directory `/root/php-4.2.1'
/root/php-4.2.1/build/shtool mkdir -p "/usr/lib/apache" && /usr/sbin/apxs -S
LIB
EXECDIR="/usr/lib/apache" -i -a -n php4 libs/libphp4.so
cp libs/libphp4.so /usr/lib/apache/libphp4.so
cp: cannot stat `libs/libphp4.so': No such file or directory
apxs:Break: Command failed with rc=1
make[1]: *** [install-sapi] Error 1
make[1]: Leaving directory `/root/php-4.2.1'
make: *** [install-recursive] Error 1
[root@admin php-4.2.1]# ls libs
libphp4.a  libphp4.la
[root@admin php-4.2.1]#
-------------------------------------------------

Now I've tried a lot of other 'configure' options, but I keep getting that
error, and worse I keep getting '500 Internal Server Errors' on my website..
:-( Does anybody know how to solve this problem???

Thanx in advance,
    Wouter Westendorp

PS: mod_so.c is listed in httpd -l



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to