note 57015 added to function.ora-logon
| From: | pranav_agg at hotmail dot com | Date: | Wed, 21 Sep 2005 18:11:36 +0000 |
| Subject: | note 57015 added to function.ora-logon | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-95550@lists.php.net to get a copy of this message | ||
hi,
i tried as given above,
i am using appserv 2.4.0 which integrates apache 1.2, php4.3.6 and also mysql.
it is able to show phpinfo()
when i uncommented the two extensions given as
extension=php_oci8.dll
extension=php_oracle.dll
now when i restart the apache it gives following error:
unknown(): unable to load dynamic library 'c:\appserv\php\extensions\php_oci8.dll' - the
specified procedure could not be found.
i have put the php_oci8.dll( previously it was not there) and restarted again,, same error comes.
and when i make the php file as below:
<?php
$db="(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = compsol)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = MODOSE)
(PRESENTATION = http://HRService)
)";
$dbcnx=OCILogOn("scott","tiger","$db");
?>
it gives following error:
Fatal error: Call to undefined function: ocilogon() in c:\appserv\www\oracle_connection.php on line
12
could any one help what to do in this situation...
thanks
----
Manual Page -- http://www.php.net/manual/en/function.ora-logon.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+57015
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+57015&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+57015&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+57015&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+57015&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+57015&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+57015&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+57015&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+57015&report=yes
Search -- http://master.php.net/manage/user-notes.php