juicyapple Posted January 17, 2006 Share Posted January 17, 2006 When I connect php to oracle, it shows Fatal error: Call to undefined function ocilogon() in C:\Program Files\Apache Group\Apache2\htdocs\test.php on line 7 I have uncomment the line in c:\windows\php.ini extension=php_oci8.dll Do I need to move any dll files to system32 or...? I have searched for solution long time... Any help is really appreciated. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/3212-call-to-undefined-function-ocilogon/ Share on other sites More sharing options...
Daen Posted May 4, 2006 Share Posted May 4, 2006 [!--quoteo(post=337173:date=Jan 17 2006, 12:20 AM:name=juicyapple)--][div class=\'quotetop\']QUOTE(juicyapple @ Jan 17 2006, 12:20 AM) 337173[/snapback][/div][div class=\'quotemain\'][!--quotec--] I have uncomment the line in c:\windows\php.ini extension=php_oci8.dll I was having the exact same problem, and this is what I did: Make a little page that just has <?php phpinfo() ?> in it and see what the result says. Look for where PHP thinks the php.ini file is (You could probably search for "php.ini"). Make sure that's the one you edited. No other php.ini files make a difference. I'm running XAMPP and it put the .ini in a different spot than I thought it would: Apache\bin\php.ini. After you modify the php.ini file, you have to restart Apache for the settings to take effect. That should probably clear up your problem. You shouldn't have to move the .dll files anywhere. Good luck! Quote Link to comment https://forums.phpfreaks.com/topic/3212-call-to-undefined-function-ocilogon/#findComment-33439 Share on other sites More sharing options...
birdonwire Posted May 24, 2006 Share Posted May 24, 2006 you have to install oracle client to connect php to oracle Quote Link to comment https://forums.phpfreaks.com/topic/3212-call-to-undefined-function-ocilogon/#findComment-38575 Share on other sites More sharing options...
Mikeman666 Posted July 13, 2006 Share Posted July 13, 2006 Hi! I also have a couple of problems. I use Windows XP, MS IIS and the PHP 5.1.4 installer from http://www.php.net and have installed Oracle Client and configured that to my db. I want to connect to a Oracle 10 db on another server from a php web page. Im a beginner to PHP. My questions are: 1. Do I need to edit anything in php.ini to make this work? I can find two names om dll files that i suspect have something to do with Oracle: ;extension=php_oci8.dll ;extension=php_oracle.dll Do I need to activate any of those? 2. Since Im not good at PHP it would be very useful if I can look at example code that connects PHP to Oracle in a windows environment and IIS. Very grateful if anybody can help me or give me links to where I can find help. Quote Link to comment https://forums.phpfreaks.com/topic/3212-call-to-undefined-function-ocilogon/#findComment-57131 Share on other sites More sharing options...
countnikon Posted August 11, 2006 Share Posted August 11, 2006 Install Zend Core for Oracle. Thats what I did and it works fine. http://www.zend.com/products/zend_core/zend_core_for_oracle Getting PHP and Oracle to work on Linux was a pain. What version of Oracle are you going to use? That will determine what version is necessary. Quote Link to comment https://forums.phpfreaks.com/topic/3212-call-to-undefined-function-ocilogon/#findComment-73115 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.