Tutorials to .com

Tutorials to .com » Os » Ubuntu » Ubuntu 6.10 Linux php + mysql web configuration

Ubuntu 6.10 Linux php + mysql web configuration

Print View , by: iSee ,Total views: 9 ,Word Count: 196 ,Date: Mon, 1 Jun 2009 Time: 8:05 AM

1. To build a basic web environment, I'm using apache2 + php5 + mysql 5.0

apt-get install apache2 mysql-server-5.0 php5-mysql

2. To resolve graphical user verification code when you log the problem can not be displayed

apt-get install php5-gd

3. The web install mysql management software phpmyadmin

apt-get install phpmyadmin

4. To install Zend Optimizer

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

Root in his capacity as a. / Install.sh

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

5. Configure apache virtual host

Open / etc/apache2/apache2.conf, add the following code in the final:

# VirutalHost Server

NameVirtualHost 127.0.0.1

<VirtualHost 127.0.0.1>

servername www.myweb.com

documentroot / var / www / webfolder /

</ VirtualHost>


Ubuntu Articles


Can't Find What You're Looking For?


Rating: Not yet rated

Comments

No comments posted.