Skip to Main Content

PHP code downloading instead of running

Gajananh999Jan 7 2013 — edited Jan 7 2013
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
Comments
Post Details
Added on Jan 7 2013
4 comments
2,453 views