#1
  1. No Profile Picture
    dmcgarty
    Guest
    Devshed Newbie (0 - 499 posts)
    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.
  2. #2
  3. No Profile Picture
    nitekonline
    Guest
    Devshed Newbie (0 - 499 posts)
    We have the same combination and it works fine. What mesg did you get ? What is your code ?
  4. #3
  5. No Profile Picture
    dmcgarty
    Guest
    Devshed Newbie (0 - 499 posts)
    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).]

Similar Threads

  1. netca.rsp installation in silent mode Oracle 9i
    By jwite2003 in forum Oracle Development
    Replies: 4
    Last Post: October 23rd, 2006, 08:12 AM
  2. ASP.net v. Oracle Forms-Which is best.
    By msjodin in forum HTML Programming
    Replies: 1
    Last Post: February 10th, 2004, 02:20 PM
  3. Data migration from oracle to oracle
    By abbsz_abigail in forum Oracle Development
    Replies: 1
    Last Post: December 30th, 2003, 10:14 AM
  4. Oracle equivalents of MySQL commands
    By Benahimvp in forum Database Management
    Replies: 12
    Last Post: July 15th, 2002, 03:04 AM
  5. Oracle connection method
    By Mark Round in forum PHP Development
    Replies: 2
    Last Post: March 13th, 2002, 07:53 AM

IMN logo majestic logo threadwatch logo seochat tools logo