Hello everyone,
I just built a PHP5 module with OCI8 support for my Apache 2 and everything seemed to work fine.
But when I try to create a test-page, apache writes
PHP Warning: ocilogon(): OCISessionBegin: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
in /var/www/html/oratest.php on line 3
into the error log. I made sure that ORACLE_HOME, ORACLE_SID and also ORCL_SID are set and my $ORACLE_HOME/bin/oracle file is setuid user.
I can access the database without problems using sqlplus or Java JDBC or Oracle Forms/Reports.
Any ideas?
Greetings
Marcus