PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 13th, 1999, 12:16 PM
dmcgarty
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
I am trying to get the above combination to work. Compiling PHP with Oracle support seems to work in that there are no errors from the compile and install. Likewise with compiling PHP3 as a static module in Apache. However apache gets a segmentation violation code 11 when it hits the first oracle related function in the php code. The documentation on actually getting Oracle support working in PHP is very sparse. Is there anyone out there who has done this successfully who would care to share their secrets?

I am using PHP3.0.12, Oracle 7.3.4, Apache 1.3.6 on HP/UX 10.20.

Reply With Quote
  #2  
Old September 24th, 1999, 04:26 PM
nitekonline
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
We have the same combination and it works fine. What mesg did you get ? What is your code ?

Reply With Quote
  #3  
Old September 27th, 1999, 11:55 AM
dmcgarty
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
On the web browser you see "Page contained no data". In the apache error log you see "Segmentation violation 11". I have tried to compile PHP as a module (mod_php) and as a standalone cgi.

<?

putenv("ORACLE_HOME=/apps/oracle/home/oracle/dist/7.3.2");
putenv("ORACLE_SID=graspcal");

// connect to server

error_log("Attempting connection to Oracle database", 0, "", "");

$connection = ora_logon("scott","tiger");

Through debugging, I find that everything crashes on the ora_logon line.


[This message has been edited by dmcgarty (edited 09-27-99).]

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPHP Development > PHP3, Oracle, Apache1.36


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