Hi guys ..
I have faced alot of problems in setting up the configurations between PHP and oracle couple of weeks ago .. and just today It gets started work properly.. I faced the problems with Apache2 and PHP5.. and now I'm working with Apache 1.3 and PHP 4.1.1 ..
First u have to install the Oracle Client Application as u did.
Then u have to go to php.ini and uncomment the following statment:
Code:
extension=php_oci8.dll
(of course by removing the simecolun )
then u have to make sure of the TNSNAMEs file's content at the following directory:
Code:
c:/Oracle home/ network/ admin/ TNSNAMES.ora
and it should be look like this:
Code:
dataBase_name =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = Check_DBA)
(PROTOCOL = TCP)
(Host = ORacleServer_host)
(Port = OracleServer_port)
)
(ADDRESS =
(COMMUNITY = check_DBA)
(PROTOCOL = TCP)
(Host = ORacleServer_host)
(Port = OracleServer_port)
)
)
(CONNECT_DATA = (SID = ur_SID_name)
)
)
and then it'll work
