Configuring PHP in IIS 6 (Win2k3 Entr Server) + Oracle9i2

From: Date: Fri, 05 Dec 2003 01:29:42 +0000
Subject: Configuring PHP in IIS 6 (Win2k3 Entr Server) + Oracle9i2
Groups: php.general 
Request: Send a blank email to php-general+get-171932@lists.php.net to get a copy of this message
Hi, I'm configuring a server (windows 2003 Entrepise Edition) with PHP and Oracle9i.2, I've done everthing as the manuals and everthing over the net that i could found : 1. I've Installed Oracle 2. I've installed PHP 4.3.4 manually 3. Changed PHP.INI : 3.1 Extensions dir : "C:\\php\\extensions" 3.2 Uncommented "extension=php_oci8.dll" 3.3 Changed CGI.FORCE-REDIRECT = OFF Now it's all running and doesn't give any errors, but if i try to use a conection to Oracle to verify the user i receive this error: "Fatal error: Call to undefined function: ocilogon() in c:\FCUL\index.php on line 35" this is the code: 34: //connect to the database 35: if ($conn = OCILogon("scott", "tiger", "fcul")) 36: { 37: 38: 39: // Select Data... 40: if ($s = OCIParse($conn,"SELECT name, password FROM Student WHERE nstudent = '$user' and password = '$pass' ")) 41: { 42: if (OCIExecute($s,OCI_DEFAULT)) 43: {... my question is : Do i need to configure Oracle path in php.ini or make any change to oracle I have installed Oracle 9i.2 Server -> Installation Entrepise + Client tools If you could help me i would be very grateful because this is for a project in mine university and i can't put it to work at my home!!! One more thing when i execute phpinfo(); nothing related to OCI or Oracle appears! Look forward to hearing from you, Ricardo Brito Mendes dos Reis Fernandes Ricardo Fernandes Apartado 5017 <http://maps.yahoo.com/py/maps.py?Pyt=Tmap&addr=1081-601+Lisboa&csz=Apartado +50171081-601+Lisboa&country=us> 1081-601 Lisboa rbmrf@zmail.pt mobile: 964391141 <http://www.plaxo.com/signature/> Powered by Plaxo <http://www.plaxo.com/signature/> Want a signature like this?

« previous php.general (#171932) next »