Example of setting lamp environment

Source: Internet
Author: User
Tags mysql version php and

Apache Version: httpd-2.2.20

MySQL version: mysql-5.1.58

PHP Version: php-5.3.6

Other relevant software to be used:

freetype-2.4.6

jpegsrc.v6b

Libpng-1.2.8-config

gd-2.0.35

PS: Before the installation of the best httpd, MySQL, PHP and other RPM package installation software uninstall off!!

Yum Remove php php-devel httpd httpd-devel MySQL mysql-server

First, Apache installation

1. Installation:

[Root@centos5 httpd-2.2.20]#./configure--prefix=/usr/local/apache \

> enable-so--enable-rewrite--with-pmp=worker

[Root@centos5 httpd-2.2.20]# Make;make Install

2, verify that the relevant definition of the function module is properly installed

Static Module View:

[Root@centos5 ~]#/usr/local/apache/bin/apachectl-l

Compiled in Modules:

Core.c

Mod_authn_file.c

Mod_authn_default.c

Mod_authz_host.c

Mod_authz_groupfile.c

Mod_authz_user.c

Mod_authz_default.c

Mod_auth_basic.c

Mod_include.c

Mod_filter.c

Mod_log_config.c

Mod_env.c

Mod_setenvif.c

Mod_version.c

Worker.c

Http_core.c

Mod_mime.c

Mod_status.c

Mod_autoindex.c

Mod_asis.c

Mod_cgid.c

Mod_negotiation.c

Mod_dir.c

Mod_actions.c

Mod_userdir.c

Mod_alias.c

Mod_rewrite.c

Mod_so.c

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.