Ubuntu 6.10 Linux php+mysql Web Configuration

Source: Internet
Author: User

1. Build the basic Web environment, I use Apache2 + php5 + MySQL 5.0

Apt-get Install apache2 mysql-server-5.0 php5-mysql

2. Solve the problem that the graphics verification code cannot be displayed when the user logs in

Apt-get Install PHP5-GD

3. Install MySQL Web management software phpMyAdmin

Apt-get Install phpMyAdmin

4. Installation of Zend Optimizer

wget http://downloads.zend.com/optimizer/3.2.2/ZendOptimizer-3.2.2-linux-glibc21-i386.tar.gz

Executes as root./install.sh

It will require you to specify the location of your php.ini, the default will be placed in the/etc/php5/apache2 inside, you can fill in the

5. Configure Apache Virtual Host

Open/etc/apache2/apache2.conf and add the following code at the end:

# Virutalhost Server

Namevirtualhost 127.0.0.1

ServerName www.myweb.com

documentroot/var/www/webfolder/

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.