ID: 15033
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: OCI8 related
Operating System: AIX 5.1
PHP Version: 4.1.1
New Comment:

Disregard the previous "httpd -X" test case; the error message was
caused by another problem. The child segfault problem still stands,
however.


Previous Comments:
------------------------------------------------------------------------

[2002-01-14 14:37:34] [EMAIL PROTECTED]

When I compile PHP 4.1.1 with OCI8 support and try to run it on a
system with AIX 5.1, the Apache child processes generate segfaults
until I stop Apache. The behavior has been observed on two different
AIX 5.1 systems, and it happens regardless of whether PHP was compiled
on an AIX 4.3 or 5.1 system.

The Oracle client libraries are properly installed, and Oracle
utilities like "sqlplus" run normally.

If I remove OCI8 support from the PHP module, or if I run the same
module with OCI8 support on an AIX 4.3 system, it works just fine.

Here's the environment:

AIX 5.1
PHP 4.1.1
Oracle 8.1.7 client libraries
IBM VisualAge C 5.0.1

export CC="cc_r"
export CFLAGS="-g -ma"

./configure --prefix=/local/www/php \
--with-apxs=/local/www/bin/apxs \
--with-config-file-path=/local/www/php \
--without-mysql \
--with-oci8=/ora00/app/oracle/product/8.1.7

Here's how I reproduce the problem:

# make install
# /local/www/bin/apachectl start
# tail -f /local/www/logs/www.err

[Wed Jan  9 13:33:05 2002] [notice] Apache/1.3.20 (Unix) PHP/4.1.1
configured --
 resuming normal operations
[Wed Jan  9 13:33:06 2002] [notice] child pid 13720 exit signal Illegal
instruct
ion (4)
[Wed Jan  9 13:33:06 2002] [notice] child pid 14672 exit signal Illegal
instruct
ion (4)
[Wed Jan  9 13:33:06 2002] [notice] child pid 5884 exit signal Illegal
instructi
on (4)
[Wed Jan  9 13:33:06 2002] [notice] child pid 17438 exit signal Illegal
instruct
ion (4)
[Wed Jan  9 13:33:06 2002] [notice] child pid 16608 exit signal Illegal
instruct
ion (4)
[Wed Jan  9 13:33:08 2002] [notice] child pid 17440 exit signal Illegal
instruct
ion (4)
[Wed Jan  9 13:33:09 2002] [notice] child pid 14674 exit signal Illegal
instruct
ion (4)
[Wed Jan  9 13:33:09 2002] [notice] child pid 5886 exit signal Illegal
instructi
on (4)
...

# /local/www/bin/apachectl stop

# /local/www/bin/httpd -X
{accepts vanilla html requests, sometimes doesn't terminate on ^C until
after it's received a request}

If I try to access a simple script ("<?php print "Hello"; ?>") while
running with "-X", I get the following output:

Warning: Failed opening
'/local/www/vhosts/owl.its.uiowa.edu/docs/phpinfo.php' for inclusion
(include_path='') in Unknown on line 0

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=15033&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to