|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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
|
|||
|
|||
|
We have the same combination and it works fine. What mesg did you get ? What is your code ?
|
|
#3
|
|||
|
|||
|
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).] |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > PHP Development > PHP3, Oracle, Apache1.36 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|