DelphiFAQ Home Search:
General :: Programming :: php
Find help with php (PHP: Hypertext Preprocessor), an open source, server-side, HTML embedded scripting language used to create dynamic Web pages.

Articles:

This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.

Featured Article

Call to undefined function: ora_logon()/ ocilogon()"?

Question:

I try to connect from my php page to an oracle database. I get an error message "Call to undefined function: ora_logon()/ ocilogon()" - why?

Answer:

PHP does not use the correct extension module. Compile PHP with the following options:

--with-oracle=/path/to/oracle/home/dir
--with-oci8=/path/to/oracle/home/dir

On Windows systems one can just uncomment the following lines in the php.ini file:
;extension = php_oci8.dll
;extension = php_oracle.dll


Generated 12:01:57 on Sep 19, 2017