|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
|
|
#1
|
|||
|
|||
|
compile apache cu suport php - oracle 8.1.5
How can i compile apache cu suport php - oracle 8.1.5 ?
i have this error : " Fatal error: Call to undefined function: ocilogon() in d:\dezvoltare web\oracle\conn.php on line 15 " and source is this : " <?php //putenv("ORACLE_SID=TESTDB"); //putenv("ORACLE_HOME=/oracle/ora90"); //putenv("TNS_ADMIN=/oracle/ora90/network/admin"); $username = "scott"; $passwd = "tiger"; $db="(DESCRIPTION= (ADDRESS_LIST= (ADDRESS=(PROTOCOL=TCP) (HOST=ui)(PORT=1521) ) ) (CONNECT_DATA=(SERVICE_NAME=db)) )"; $conn = OCILogon($username,$passwd,$db); if (!$conn) { echo "Connection failed"; echo "Error Message: [" . OCIError($conn) . "]"; exit; } else { echo "Connected!"; } ?> " i used and putenv but don't work ... please help ! |
|
#2
|
||||
|
||||
|
Have you got the Oracle DLL installed? You need to uncomment the Oracle DLL from the PHP INI file and then restart your webserver.
If you do not have the extension then you can download it from the PHP website, they have a zip file with all PHP & all extensions |
![]() |
| Viewing: Dev Shed Forums > Databases > Database Management > compile apache cu suport php - oracle 8.1.5 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|