Install php4+ PERSONAL oracle8i under WIN98
Personal Oracle8i is a mature version of the Oralce database, which is simply a condensed version of Oracle8i. Allows programs or other system personnel to develop or learn from Oracle on a single machine, rather than on an enterprise database, without requiring an advanced configuration environment. It's a great environment for friends who want to learn about Oracle.
Personal oracle8i The most requirements for the system are: 32MB of memory, 85MB of disk space.
Related below:
apache1.3.14:www.apache.org
php4.0.3 pl1:www.php.net
Personal Oracle8ir2 (8.1.6): www.oracle.com
My machine is configured for MMX166,64MB Edo memory, 10GB HDD.
Operating system is: Win98SE (OEM)
I tried the D version of the Win98SE, but personal oracle8i NET8 has been unable to install, so advised everyone still do not use the D version of the WIN98 to be installed.
1. Install personal oracle8i Unzip the downloaded zip file, run Setup, wait a moment to see the Personlal Oracle Installation interface, press Next, enter the Oracle installation path and home NAME, select a typical installation, At this point in the upper right corner of the installation interface there will be a progress bar, about 60% will pop up the warning bar, said the memory is less than 96MB, may be wrong what, do not bother, continue, OK, when the next screen, Oracle8i began to install. If there is any error in the installation process, say what the file can not be written, ignore, by ignoring, this has no effect on the database installation. After the completion of the database installation, the NET8 Configuration Assistant, Database Setup Assistant and other tools to set up the client and database, which will need to lose the global name and SID of the database, we set to "TEST", then a bit of patience, it takes a long time to complete the database settings. Finally, when the oracle is prompted for a successful installation, the installation is complete.
2. Install PHP4.0.3PL1: Unzip the downloaded zip file to a directory, such as "c:apachephp", copy the Php.ini-ist file, and modify the following columns:
Specify the path:
Doc_root=c:apachehtdocs
Extension_dir=c:apachephpextensions
Remove the ";" number in front of the following two lines:
Extension=php_oci8.dll
Extension=php_oracle.dll
3. Install APACHE1.3.14: Run the installation files directly after download, follow the prompts to install.
Add the following lines in the. confhttp.conf:
scriptalias/php/"c:/apahce/php/"
Action application/x-httpd-php "/php/php.exe"
AddType application/x-httpd-php. php
AddType application/x-httpd-php. php3
4. Test APAHCE: Start the Apache service in the Start menu, enter 127.0.0.1 in the IE address bar, and see Apache Welcome screen, indicating that Apache is working properly.
5. Test PHP: Use a text editor to edit PHP files:
File name is info.php
Phpinfo ();
?>
Enter 127.0.0.1/info.php in the IE Address bar, you can see the PHP environment parameters, if you find the support of oricle and Orci8, PHP has supported Oracle and OCI8.
6. To test the connection to Oracle:
To configure the Oracle client first, we can configure it using the NET8 configuration Assistant, and after the Oracle network-side configuration is successful, use the following program to test:
The file name is test.php.
$conn =ocilogon ("System", "manager", "Test");
if ($conn)
Print "Oracle database connection succeeded";
Else
Print "Oracle database connection failed";
?>
If the program returns a success flag, the connection is successful. If you want to connect to a remote database, you only need to configure it in the NET8 configuration assistant.
http://www.bkjia.com/PHPjc/486421.html www.bkjia.com true http://www.bkjia.com/PHPjc/486421.html techarticle installing php4+ PERSONAL oracle8i PERSONAL oracle8i in WIN98 is a mature version of the Oralce database, which is a condensed version of Oracle8i. Allow the program or other system personnel on the stand-alone ...