After a night of "fighting", and finally put Oracle installed, and PHP script to invoke the Oracle database is also successful, and now share with you.
(Note: Some information on the internet now says oracle8.1.6 php4.0.4 apache1.3.2 can be successful
installation, but I and a friend tried several times can not be successful, such as a master please advise, preferably specific. )
1. Hardware environment:
Hard disk: 9.2 G; Memory: 128 M; Network card: EEpor100
2. Software
Operating system:
RedHat 6.1 (* * * Everyone pay attention, must be 6.1 ah * * *)
3. Optimize Redhat 6.1
Process as in the previous article, please refer to the previous article "How to install Php,apache,mysql,perl under Linux" Author: sucre_tiger
4. Installation and optimization Mm,oracle,apache,php,,perl,mode_perl
1) file
Mm:mm-1.1.3.tar.gz
oracle:oracle.8.1.16 (second edition)
Apache:apache_1.3.12.tar.gz
Php:php-4.0.0.tar.gz (Official edition)
Mode_perl:mod_perl-1.24.tar.gz
Perl-dbi:dbi-1.14.tar.gz
Dbd-oracle-1.06.tar.gz
Data-dumper-2.101.tar.gz
Data-showtable-3.3.tar.gz
Perl:perl-5.6.0.tar.gz
Extract files:
TAR-ZXPF file name
Attention: All of the following precompilation and installation must be in the software directory to be installed
#) Installation mm
(Note: MM can adopt a new algorithm, to optimize the system, but also to set the CPU support, recommended installation)
./configure
--disable-shared
--prefix=/usr
Make
Make Test
Make install
Make clean
(Note: After installing a module, make clean clears some of the previous settings to prevent conflicts)
# Oracle Installation
Because Oracle's installation is complex, it is difficult to take a stroke, and the next time there will be a special document to introduce Oracle installation.
#) Pre-compilation of Apache
Cc= "Egcs"
Optim= "-o9-funroll-loops-ffast-math-malign-double-mcpu=pentiumpro
-march=pentiumpro-fomit-frame-pointer-fno-exceptions "
Cflags= "-ddynamic_module_limit=0"
./configure
--prefix=/apache
# Pre-compilation of PHP
Cc= "Egcs"
Optim= "-o9-funroll-loops-ffast-math-malign-double-mcpu=pentiumpro
-march=pentiumpro-fomit-frame-pointer-fno-exceptions "
./configure