Edit report at https://bugs.php.net/bug.php?id=76656&edit=1
ID: 76656
Comment by: meave390 at gmail dot com
Reported by: l dot straka at t-systems dot com
Summary: Unable to load dynamic library oci8
Status: Not a bug
Type: Bug
Package: OCI8 related
Operating System: AIX IBM 7.1
PHP Version: 5.6.37
Assigned To: sixd
Block user comment: N
Private report: N
New Comment:
You have to see this site https://solitaire-klondike.net and going to amazing fun
like it
Previous Comments:
------------------------------------------------------------------------
[2018-07-24 08:18:53] sixd@php.net
I'll close this. Follow up on OTN if you have further questions.
------------------------------------------------------------------------
[2018-07-24 08:18:19] sixd@php.net
I'll assume you tested OCI8 in command line PHP and it works.
You need to make sure you are setting all required Oracle environment variables for Apache, make
sure you are using the right syntax, and/or need to find a different way to pass the Oracle
environment variables to Apache. Setting the environment is a common problem but has various
solutions depending on OS and Apache version.
I don't know about AIX, but on RH Linux, adding variables to /etc/sysconfig/httpd is the way to
go. You may or may not need to 'export' them. They may or may not expand environment
variables on the right hand side of the '='.
------------------------------------------------------------------------
[2018-07-24 07:24:07] l dot strala at t-systems dot com
PHP in command line works probably. Also OCI8. When I create simple phpinfo, and then php it in
console then it shows info about OCI8. But when I open that php in browser it doesnt shows OCI8. Its
interesting.
------------------------------------------------------------------------
[2018-07-24 06:24:48] sixd@php.net
- Make sure PHP command-line works first.
- Please post to https://community.oracle.com/community/database/developer-tools/php
until we determine there actually is a bug. Post more details such as exactly what you put in
envvars.
------------------------------------------------------------------------
[2018-07-23 21:07:09] kalle@php.net
Assigning this to Christopher, perhaps Oracle got an idea (given it is AIX, which I remember having
some interesting build issues throughout the years together with PHP)
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=76656
--
Edit this bug report at https://bugs.php.net/bug.php?id=76656&edit=1