rabark Posted March 23, 2007 Share Posted March 23, 2007 I'm working on a Web application that needs to connect to an Oracle database. Looking in the php.ini file I see: ;extension=oci8.sl So I get the line uncommented and I get Apache restarted. When I try a simple oci_connect() function, it tells me I'm calling an undefined function. Any idea why this might be happening? -Robert Link to comment https://forums.phpfreaks.com/topic/43970-trouble-with-the-oci8-extension/ Share on other sites More sharing options...
per1os Posted March 23, 2007 Share Posted March 23, 2007 Make sure you do it in the right php.ini file, IE if you copied into the windows and windows/system32 and c:/yourdir/to/php. If not chances are apache is reading one of the other files =) Link to comment https://forums.phpfreaks.com/topic/43970-trouble-with-the-oci8-extension/#findComment-213544 Share on other sites More sharing options...
rabark Posted March 23, 2007 Author Share Posted March 23, 2007 I'm pretty sure it's the right file. It's the same file listed in phpinfo(), so unless phpinfo() is confused. . . -Robert Link to comment https://forums.phpfreaks.com/topic/43970-trouble-with-the-oci8-extension/#findComment-213553 Share on other sites More sharing options...
per1os Posted March 23, 2007 Share Posted March 23, 2007 You never know. If you do have copies I would keep them all consistent. Another thing to check, are you sure that extension is in the php directory? Link to comment https://forums.phpfreaks.com/topic/43970-trouble-with-the-oci8-extension/#findComment-213555 Share on other sites More sharing options...
rabark Posted March 23, 2007 Author Share Posted March 23, 2007 Yes, the oci8.sl file is in the extension_dir folder listed in phpinfo(). -Robert Link to comment https://forums.phpfreaks.com/topic/43970-trouble-with-the-oci8-extension/#findComment-213570 Share on other sites More sharing options...
rabark Posted March 28, 2007 Author Share Posted March 28, 2007 Does anyone else have some suggestions? I did some Google searches and consistently saw a different suffix used after "oci8" in quite a few of the returned hits. Could the ".sl" have anything to do with this? Also talked to the system admin, but she doesn't know PHP -Robert Link to comment https://forums.phpfreaks.com/topic/43970-trouble-with-the-oci8-extension/#findComment-216934 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.