Ubuntu6.10Linuxphp + mysqlweb simple configuration Implementation Method

Source: Internet
Author: User
1. set up the basic web environment, I use apache2 + php5 + mysql5.0apt-getinstallapache2mysql-server-5.0php5-mysql2. resolved the problem of graphical verification code not displayed when a user logs on apt-getinstallphp5-gd3. install web management software phpmyadminapt-getinstallphpmyadmin4 for mysql 1. to build a 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 graphic Verification Code cannot be displayed during user login.
Apt-get install php5-gd
3. Install the mysql web management software phpmyadmin
Apt-get install phpmyadmin
4. Install Zend Optimizer
Wget http://downloads.zend.com/optimizer/3.2.2/ZendOptimizer-3.2.2-linux-glibc21-i386.tar.gz
Run./install. sh as root.
You are required to specify the location of your php. ini, which will be placed in/etc/php5/apache2 by default.
5. Configure the apache Virtual Host
Open/etc/apache2/apache2.conf and add the following code at the end:
# VirutalHost Server
NameVirtualHost 127.0.0.1
<VirtualHost 127.0.0.1>
Servername www.myweb.com
Documentroot/var/www/webfolder/
</VirtualHost>
(T002)
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.