This discussion is archived
4 Replies Latest reply: Jan 7, 2013 4:11 PM by cj RSS

PHP code downloading instead of running

Gajananh999 Newbie
Currently Being Moderated
Dear Everyone,

I have installed xampp on linux server and i m running that apache of port 90.

when i run my php code its gives me this error

Fatal error: Call to undefined function oci_connect() in /opt/lampp/htdocs/API/GetAllCountries.php on line 53

So i uncommented two lines in php.ini file that is

*;extension=php_oci8.dll ; Use with Oracle 10gR2 Instant Client*
*;extension=php_oci8_11g.dll ; Use with Oracle 11g Instant Client*


After this when i run php file on browser instead of running its start downloading.

Can anyone please help me on this. What needs to be done to get run this.

Thanks and regards,
Gajanan

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points