Install PHP4 + PERSONALORACLE8I under WIN98, read install PHP4 + PERSONALORACLE8I under WIN98, install PHP4 + PERSONALORACLE8IPersonaloracle8i under WIN98 is a mature version of ORALCE database, it is simply the concentrated version of ORACLE8i. Allow programs or other programs to install PHP4 + PERSONAL ORACLE8I in WIN98
Personal oracle8i is a mature version of ORALCE database, which is simply a concentrated version of ORACLE8i. Allow program or other system personnel to develop or study ORACLE on a single machine, without having to do so on the enterprise database, without the need for an advanced configuration environment. For those who want to learn ORACLE, it is a very suitable environment.
The most required system for Personal oracle8i is 32 MB memory and 85MB disk space.
Related downloading:
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 as MMX166, 64 mb edo memory, 10 GB hard disk.
Operating system: WIN98SE (OEM)
I have tried Windows for dversion, but the NET8 for Personal ORACLE8i has never been installed, so we recommend that you do not use Windows 98 for dversion installation.
1. install personal oracle8i. decompress the downloaded ZIP file and run setup. After a moment, you can see the installation interface of personlal oracle. press next and enter the installation path and home name of ORACLE, select a typical installation. a progress bar is displayed in the upper-right corner of the installation interface. a warning Bar is displayed around 60%, indicating that the memory is smaller than 96 MB and errors may occur. ignore this and continue, when the next screen appears, ORACLE8i is installed. If there is any error prompt during the installation process and the file cannot be written, ignore it and ignore it. this will not affect the installation of the database. After the database is installed, the system automatically runs net8 configuration assistant and database settings assistant to set the client and database. The global name and SID of the database are required, we set it to "TEST". It takes a long time to complete database settings. Finally, when oracle is successfully installed, the installation is complete.
2. install PHP4.0.3pl1: decompress the downloaded ZIP file to a directory, for example, "c: \ apache \ php. copy the ini-ist file and modify the following columns:
Path:
Doc_root = c: \ apache \ htdocs
Extension_dir = c: \ apache \ php \ extensions
Remove the ";" before the following two rows:
Extension = php_oci8.dll
Extension = php_oracle.dll
3. install APACHE1.3.14: After the installation is downloaded, run the installation file and install it as prompted.
Add the following lines to. \ 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, and enter 127.0.0.1 in the IE address bar. the welcome image of APACHE indicates that APACHE is working properly.
5. test PHP: use a text editor to edit the PHP file:
// The 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 oricle and orci8 support is found, PHP supports ORACLE and OCI8.
6. test the connection with ORACLE:
First, you must configure the ORACLE client. we can use NET8 configuration assistant to configure it. after the ORACLE network is configured successfully, use the following program for testing:
// The file name is test. php.
$ Conn = ocilogon ("system", "manager", "test ");
If ($ conn)
Print "successful oracle Database Connection ";
Else
Print "oracle Database Connection failed ";
?>
If the program returns a success sign, the connection is successful. To connect to a remote database, you only need to configure in NET8 configuration assistant.
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.