I'm trying to build PHP4.1.2 on RH7.2 with the following configuration:
./configure 'i386-redhat-linux' --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --with-config-file-path=/etc --disable-debug --enable-pic --enable-inline-optimization --enable-force-cgi-redirect--with-bz2 --without-pear --with-curl --with-db3 --with-dom --with-exec-dir=/usr/bin --with-gd --with-gdbm --with-gettext --with-jpeg-dir=/usr --with-openssl --with-png --with-regex=system --with-ttf --with-zlib --with-layout=GNU --enable-debugger --enable-ftp --enable-magic-quotes --enable-safe-mode --enable-sockets --enable-sysvsem --enable-sysvshm --enable-track-vars --enable-yp --enable-wddx --with-xml--with-pspell --without-mysql --with-oci8=/u01/app/oracle/product/8.1.7 --with-oracle=/u01/app/oracle/product/8.1.7 --enable-sigchild
I'm using the same options that were in the RH7.2 rpm (PHP v4.06) plus I'm linking it with Oracle 8.1.7. After much pain I got a PHP exec but when I run it I get the following:
PHP Warning: (null): Unable to initialize module
Module compiled with debug=96, thread-safety=187 module API=1086476416
PHP compiled with debug=0, thread-safety=0 module API=20010901
These options need to match
in Unknown on line 0
¼': Unable to initialize module ö
Module compiled with debug=144, thread-safety=151 module API=1073873612
PHP compiled with debug=0, thread-safety=0 module API=20010901
These options need to match
in Unknown on line 0
What gives? I was forced to install curl v7.9.1-1 because PHP configure didn't like the version delivered with RH7.2. Is this causing the problem?
Any help would be appreciated.