From: Operating system: AIX PHP version: 5.2.17 Package: OCI8 related Bug Type: Bug Bug description:Internal Server Error when php compiled with oci driver
Description: ------------ Apache server throws internal server error during sso kerberos authentication when php is compiled with parameter --with-oci8=instantclient,/usr/local/instantclient_11_1/lib We have currently working apache 2.2.17 server with php 5.2.17 (other versions was also tested) configured with mit kerberos 5.1.6 and mod_auth_kerb5.4 kerberos module. Before we try to add oci connection to oracle everything works fine and users was authenticated by sso. After we recompiled php with oci our apache instance can't load kerberos configuration file and throws internal server error. It can be related to issue with subprocesses http://bugs.php.net/bug.php?id=9013 I already tried oracle support but they didn't like to help with php. Expected result: ---------------- Error log without oci (works fine): [Wed May 11 16:39:54 2011] [debug] src/mod_auth_kerb.c(1628): [client host] kerb_authenticate_user entered with user (NULL) and auth_type Kerberos, referer: https://host/altair/views/show_docclasses.php [Wed May 11 16:39:54 2011] [debug] src/mod_auth_kerb.c(1240): [client host] Acquiring creds for HTTP/host@domain, referer: https://10.151.67.126/altair/views/show_docclasses.php [Wed May 11 16:39:54 2011] [debug] src/mod_auth_kerb.c(1385): [client host] Verifying client data using KRB5 GSS-API with our SPNEGO lib, referer: https://host/altair/views/show_docclasses.php [Wed May 11 16:39:54 2011] [debug] src/mod_auth_kerb.c(1401): [client host] Client didn't delegate us their credential, referer: https://10.151.67.126/altair/views/show_docclasses.php [Wed May 11 16:39:54 2011] [debug] src/mod_auth_kerb.c(1420): [client host] GSS-API token of length 161 bytes will be sent back, referer: Actual result: -------------- Error log with oci: [Fri May 06 17:25:38 2011] [debug] src/mod_auth_kerb.c(1628): [client 10.150.203.118] kerb_authenticate_user entered with user (NULL) and auth_type Kerberos [Fri May 06 17:25:38 2011] [debug] src/mod_auth_kerb.c(1101): [client 10.150.203.118] GSS-API major_status:000d0000, minor_status:96c73a87 [Fri May 06 17:25:38 2011] [error] [client 10.150.203.118] gss_import_name() failed: Miscellaneous failure (, Can't open/find Kerberos configuration file) -- Edit bug report at http://bugs.php.net/bug.php?id=54716&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=54716&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=54716&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=54716&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=54716&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=54716&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=54716&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=54716&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=54716&r=needscript Try newer version: http://bugs.php.net/fix.php?id=54716&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=54716&r=support Expected behavior: http://bugs.php.net/fix.php?id=54716&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=54716&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=54716&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=54716&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=54716&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=54716&r=dst IIS Stability: http://bugs.php.net/fix.php?id=54716&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=54716&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=54716&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=54716&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=54716&r=mysqlcfg