How to install Php,apache,oracle,perl under Linux

Source: Internet
Author: User
Tags install php php script oracle database

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

Related Article

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.