PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old January 10th, 2005, 04:44 PM
phpPrgrmmr phpPrgrmmr is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 11 phpPrgrmmr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Angry PHP Help with Oracle

I am currently building a Corporate Finance program that will include a connection to an existing Oracle 8i database. I am using PHP and have scoured the web looking for solutions to this problem. I am using PHP 4.3.9, and have uncommented extension=php_oci8.dll in my php.ini file. I have also installed SQL+ on my machine, and have no problem connecting to the database from this app. I am using Apache server 2.0.52 and have restartedthe server after changing the php.ini file to load th new settings. I have even restarted the computer with no change. The error I am receiving is

Fatal error: Call to undefined function: ocilogon() in C:\Program Files\Apache Group\Apache2\htdocs\oratest.php on line 17


I have searched high and low, and cannot find a way to solve this problem. As stated above have uncommented the proper extension in php.ini, and php_oci8.dll does exist in my extensions directory.


HELP PLEASE!!!!!!!!!!!

Reply With Quote
  #2  
Old January 12th, 2005, 08:58 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 14 m 9 sec
Reputation Power: 8
Have you looked into Pear's DB Package?
Using it, and ODBC, may be a quality solution for you.

Other than that, I have no experience with php_oci8.dll...


*edit*
I don't know if you had read this, but it seems like a helpful guide/draft:
How to install Apache/PHP for working with Oracle Database on Win32 Platform
You could probably skip most of the Apache/PHP installation, but do read it in case you missed a step before.

Last edited by MadCowDzz : January 12th, 2005 at 09:03 AM. Reason: added article reference

Reply With Quote
  #3  
Old January 12th, 2005, 10:52 AM
phpPrgrmmr phpPrgrmmr is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 11 phpPrgrmmr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thumbs up OCI8 Enabled!!!!!!

MadCowDzz,

How can I ever thank you. That walkthrough is just what I was looking for. Although I could not get it to work at first, I uninstalled Apache 2.0.52 and PHP 4.3.9, and did a step by step installation per the walkthrough, and checked my phpinfo script and lo and behold, I had OCI8 support. Again thank you so much. Now all I have to do is to look through this other horrible servlet program, that i am essentially rewritting in PHP to extract the necessary queries from the Oracle database. Again, I thank you from the bottom of my heart and God bless you and yours.

-Matt

Quote:
Originally Posted by MadCowDzz
Have you looked into Pear's DB Package?
Using it, and ODBC, may be a quality solution for you.

Other than that, I have no experience with php_oci8.dll...


*edit*
I don't know if you had read this, but it seems like a helpful guide/draft:
How to install Apache/PHP for working with Oracle Database on Win32 Platform
You could probably skip most of the Apache/PHP installation, but do read it in case you missed a step before.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingPHP Development > PHP Help with Oracle


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT