Install php4+ PERSONAL under WIN98 oracle8i

Source: Internet
Author: User
Tags file copy zip oracle database
Install php4+ PERSONAL under WIN98 oracle8i
Personal Oracle8i is a mature version of the Oralce database and is simply a condensed version of Oracle8i. Allows programs or other system personnel to develop or learn from Oracle on a single computer without having to do it on the enterprise's database without requiring an advanced configuration environment. For those who want to learn Oracle, it is a very suitable environment.
Personal oracle8i requirements for the system are: 32MB memory, 85MB disk space.
Related to the next planted:
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 with MMX166,64MB Edo memory, 10GB hard drive.
Operating system is: Win98SE (OEM)
I have tried the D version of the Win98SE, but personal oracle8i NET8 has been unable to install, so advised people still do not use the D version of the WIN98 installation.
1. Install personal oracle8i will download the zip file for decompression, run Setup, wait a moment, you can see the installation of Personlal Oracle interface, press the next step, enter the Oracle installation path and home NAME, select a typical installation, At this point the installation interface in the upper right corner will have a progress bar, about 60% will pop-up warning bar, said memory less than 96MB, may be wrong or something, ignore, continue, well, when the next screen, Oracle8i began to install. If there is any error in the installation process, say what files can not be written, ignore, by ignoring, this does not affect the installation of the database. After the completion of the database installation, the NET8 configuration Assistant, the Database Setup Assistant and other tools to set up the client and the database, which will require the global name and SID of the database, are set to "TEST", then have a bit of patience, it takes a long time to complete the database setup. Finally, when Oracle is prompted for a successful installation, this is done.
2. Install PHP4.0.3PL1: Extract the downloaded zip file to a directory, such as "c:\apache\php", php.ini-ist the file copy and modify the following columns:
Indicates the path:
Doc_root=c:\apache\htdocs
Extension_dir=c:\apache\php\extensions
Remove the ";" sign before the following two lines:
Extension=php_oci8.dll
Extension=php_oracle.dll
3. Install APACHE1.3.14: Download and run the installation file directly, follow the prompts to install it.
Add the following lines to the. \conf\http.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's Welcome screen to show that Apache is working properly.
5. Test php: Edit PHP files using a text editor:
?
File name is info.php
Phpinfo ();
?>
In the IE Address bar input 127.0.0.1/info.php, you can see the environment parameters of PHP, if found to have oricle and ORCI8 support, indicating that PHP has supported Oracle and OCI8.
6. To test the connection to Oracle:
To configure the Oracle client first, we can use the NET8 CONFIGURATION Assistant to configure the Oracle network-side configuration to be tested using the following program:
?
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 need to configure it in NET8 CONFIGURATION Assistant.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.