I recently recompiled php 4.3.2 on Redhat 9.0 with the following
./configure --enable-force-cgi-redirect --with-apxs2=/usr/local/apache2/bin/apxs --enable-sockets --enable-ftp --enable-ctype --with-pspell --with-openssl --with-bz2 --with-gd=/usr --with-freetype-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-gif-dir=/usr --with-zlib=/usr --with-ldap --enable-bcmath --with-config-file-path=/etc/php.ini --enable-gd-native-ttf --with-ttf --with-oci8=/opt/oracle/product/9.2.0
Now if I run phg as root it works fine. Any other user it give a segmentation fault.
just typing php at the prompt gives a segmentation fault
php via apache works fine..since all the scripts are running fine.
Any ideas ?
How do I start debugging such a problem. Where do I start. There are no core files as such. NO entries in php logs.
Could this be oracle's doing ???
Any help is appreciated. Sriram