This is my first attempt at using php and apache on win xp machine.
I am connecting to an Oracle 9i database on the network.
If I try to connect with wrong id, password, or db it gives me an error as it is suppose to. If I connect with the right id, passwd, db it continues to next statement.
So I am confidant I am connecting.
When my php script comes to the ociparse statement it crashes. If I run it from a web-browser it causes an error message on apache server but no helpful info is provided or clear error message.
I am running the latest php 5 version
Apache 2
on winxp sp2 machine.
here is my script up to the part where it crashes.
<?php
$connection = ocilogon("myid","mypwd","mydb") or die("Say that dang Database ain't talking to me");
echo "connected";
$sql = "SELECT SUPID FROM SUPPLRS";
$sql_statement = OCIParse($connection, $sql) or die ("This thing dont understand my query");
If I run it with php instead of running from apache it crashes and trys to send the debug report to MicroSoft.
Can someone please help this newbie out?
Thanks
Mike
I am connecting to an Oracle 9i database on the network.
If I try to connect with wrong id, password, or db it gives me an error as it is suppose to. If I connect with the right id, passwd, db it continues to next statement.
So I am confidant I am connecting.
When my php script comes to the ociparse statement it crashes. If I run it from a web-browser it causes an error message on apache server but no helpful info is provided or clear error message.
I am running the latest php 5 version
Apache 2
on winxp sp2 machine.
here is my script up to the part where it crashes.
<?php
$connection = ocilogon("myid","mypwd","mydb") or die("Say that dang Database ain't talking to me");
echo "connected";
$sql = "SELECT SUPID FROM SUPPLRS";
$sql_statement = OCIParse($connection, $sql) or die ("This thing dont understand my query");
If I run it with php instead of running from apache it crashes and trys to send the debug report to MicroSoft.
Can someone please help this newbie out?
Thanks
Mike