LAMP architecture + Discuz Forum

Source: Internet
Author: User

Operating System: RedHatEnterpriseLinuxServer5.6-i386

Kernel: 2.6.18-238. el5

Linux Browser: firefox (Chinese characters are not supported, so you can switch to a common browser under win to install the Dicuz Forum)

Installation Package:/root/Desktop/LAMP/httpd-2.0.64.tar.gz

/Root/Desktop/LAMP/mysql-5.0.18.tar.gz

/Root/Desktop/LAMP/php-5.2.8.tar.bz2

/Root/Desktop/LAMP/Discuz_7.2_FULL_ SC _GBK.zip

Installation path:/usr/local/apache

/Usr/local/mysql

/Usr/local/php

Note: uninstall the previously installed apache mysql php

Apache

Cd/root/Desktop/LAMP/

Tar-zxf httpd-2.0.64.tar.gz

Cd httpd-2.0.64

./Configure -- prefix =/usr/local/apache/(the/usr/local/Apache/directory is automatically generated)

Make & make install

/Usr/local/apache/bin/apachectlrestart

Cd/usr/local/apache/htdocs/

Rm-rf *

Vi index.html


/Usr/local/Apache/bin/apachectl restart

MySQL

Cd/root/Desktop/LAMP/

Tar-zxf mysql-5.0.18.tar.gz

Cd mysql-5.0.18

./Configure -- help

Vi INSTALL-SOURCE

Only the following content is left:

Chmod 777./INSTALL-SOURCE (permission and Development negotiation)

./INSTALL-SOURCE

PHP:

Cd/root/Desktop/LAMP/

Tar-jxf php-5.2.8.tar.bz2

Cd php-5.2.8

./Configure -- prefix =/usr/local/php -- with-mysql =/usr/local/mysql/

-- With-apxs2 =/usr/local/apache/bin/apxs

Make & make install

After installing php, modify apache:

Vi/usr/local/apache/conf/httpd. conf

Or:

Add AddType application/x-httpd-php. php in Row 3

Line 3: DirectoryIndex index.html. var index. php

Cd/usr/local/apache/htdocs/

Rm-rf *

Vi index. php

<? Php

Phpinfo ();

?>

/Usr/local/apache/bin/apachectl start

Test: Enter localhost/index. php in the address bar of the linux-firefox browser.

Install the LAMP \ Vsftpd \ Webmin \ phpMyAdmin service and settings in Ubuntu 13.04

Compile and install LAMP in CentOS 5.9 (Apache 2.2.44 + MySQL 5.6.10 + PHP 5.4.12)

Source code for Web server architecture in RedHat 5.4 build the LAMP environment and application PHPWind

Build a WEB Server Linux + Apache + MySQL + PHP in the LAMP source code Environment

  • 1
  • 2
  • Next Page

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.