ID:               34197
 User updated by:  inet2024 at hotmail dot com
 Reported By:      inet2024 at hotmail dot com
 Status:           Bogus
 Bug Type:         OCI8 related
 Operating System: win2000 AS
 PHP Version:      5.0.4
 New Comment:

Problem is, I cannot enable the oci8 dll in the ini file, as it hangs
the webserver when you do so - even if the extension_dir is set to the
directory containing the dll's. In fact it hangs the webserver if you
uncomment ANY of the extensions in the ini file. So, if by changing the
extension_dir to the correct directory, and uncommenting the correct
dll, IT IS A BUG IN EITHER PHP OR AN INSTALLATION BUG OR A BUG IN YOUR
CONFIGURATION.

I have visited the support site you quote, little or no use - the
question is raised, but no response that I can find fixes the problem.
Since this seems to be a common problem, perhaps you should fix the
code, the installation or the config setup?


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

[2005-08-20 22:17:39] [EMAIL PROTECTED]

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

Yeah, it's a configuration problem, you need to enable oci8 extension
in your php.ini.

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

[2005-08-20 20:05:35] inet2024 at hotmail dot com

Description:
------------
Running: Oracle 10g, Win2k AS, IIS, php (4 or 5), ODBC
All are running fine. When I uncomment out any of the extension dll's
in the php.ini file the webserver hangs. I have changed the
extension_dir to "C:/PHP/EXT" which is where the dll's are installed.
ODBC works with other apps - both user and system. 
It sounds more like a configuration problem, but maybe not. I have
researched and found many instances of related problems, but none have
a fix that works.

Reproduce code:
---------------
...

$db_db = "dbname";
$db_connoci = ocilogon("user", "password", $db_db);

...

Expected result:
----------------
Connection to oracle via php-oci8.dll

Actual result:
--------------
Webserver hangs 

or

Fatal error: Call to undefined function ocilogon() in
c:\Inetpub\wwwroot\include\db.php on line 19


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


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

Reply via email to