PHP in the Linux/unix under the connection Oracle8 is very easy, but in the Windows platform is not easy, I after a long time to find a reliable method, dare not exclusive, is now released to treat everyone. I use the development environment: Windows 98 Second Edition PHP4.04PL1 Apache 1.3.14 window version Oracle 8.05 client PHP is installed in CGI mode after the successful test. Test with the following code About Connection parameter issues: The connection string is set to the following: (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.3.202) (PORT = 1521)) (Connect_data = (SID = Unicom)) PROTOCOL: Network protocol for use host: SID for database server hostname: This is generally not a problem after doing this for the instance number of the database. If your Oracle 8 client is a 8.1.6i Enterprise Edition, you can set these parameters in a connection string using the Oracle8 Net Easy Config utility. The set connection string name is passed in as a connection string. Presumably Oracle 7.x can also use this method, because there is no environment, not tested, if you are interested can try.
http://www.bkjia.com/PHPjc/531942.html www.bkjia.com true http://www.bkjia.com/PHPjc/531942.html techarticle PHP in the Linux/unix under the connection Oracle8 is very easy, but in the Windows platform is not easy, I after a long time to find a reliable method, dare not exclusive, is now released to treat everyone. ...