You download a lamp that is a professional Linux Web server
and simply look at lamp's instructions to get it done.
agree with
0| Comments 2011-04-18 23:46 Enthusiastic netizens
Nux can be a big difference. I wrote the following according to Supsite's Digest: Of course, there must be a set of: (If the system is customized, you can uninstall, you can install directly) httpd-2.0.x.tar.gz mysql-client-4.0.20-0.i386.rpm M ysql-server-4.0.20-0.i386.rpm http://php-5.0.x.tar.gz zendoptimizer-2.5.3-linux-glibc21-i386.tar.gz http://(This is not installed Can be accelerated by PHP) gd-2.0.28.tar.gz: 1. Install MySQL server: #rpm-ivh mysql-server-4.0.20-0.i386.rpm #rpm-ivh mysql-client-4 .0.20-0.i386.rpm MySQL OK 2. Install the GD library # TAR-ZXF gd-2.0.26gif.tar.gz # cd gd-2.0.26gif #/configure--prefix=/usr/local/g D2--with-zlib=/usr/local/zlib2/--with-png=/usr/local/libpng2/--with-jpeg=/usr/local/jpeg6/--with-freetype=/usr
/local/freetype2/(Please specify the installation path of the passing plug-in, otherwise it may be wrong to install PHP!)
# make # Make install 3. Install Apacha install Apache, (PHP5 installation environment needs apache2.0.46 above version, download time note!) #tar zxvf httpd-2.0.50.tar.gz #cd httpd-2.0.50 #./configure--prefix=/usr/local/apache2--enable-module=so #make #make Install 4. Install PHP # TAR-ZXF php5-200411260130.tar.gz # cd php5-200411260130 #./configure--prefix=/usr/local/php--wit H-apxs2=/usr/local/apAche2/bin/apxs--with-jpeg-dir=/usr/local/jpeg6/--with-png-dir=/usr/local/libpng2/--with-gd=/usr/local/gd2/-- with-freetype-dir=/usr/local/freetype2/--enable-trace-vars--with-zlib-dir=/usr/local/zlib2/-with-mysql=/var/ Lib/mysql # make # make install # CP Php.ini-dist/usr/local/php/lib/php.ini Edit Apache configuration file httpd.conf Open with editor:/usr/loc Al/apache2/conf/httpd.conf #AddType Application/x-tar. tgz Add a row #LoadModule php5_module modules/libphp5.so AddType AP plication/x-httpd-php. php If you search elsewhere without the following line LoadModule Php5_module modules/libphp5.so Please remove the # above and find DirectoryIndex in
Dex.html Index.html.var in the back index.php let it make index.php as default page find # don ' t use Group #-1 on these systems!
Change the following username and group to user Apache group Apache and find #ServerName to remove the #, and then change the IP back to your IP. Find DocumentRoot "/usr/local/apache2/htdocs" Change/usr/local/apache2/htdocs to the path where you store the Web page file in order to make the Chinese page is not garbled find Adddefaultcharset is O8859-1 the back of the iso8859-1 to gb2312 or simply off the other options on their own modify it! or to have a special httpd.conf instructions to start Apache #/usr/local/apache2/Bin/apachectl start write a test page and put it in your web directory to see how to speed up PHP #tar zxvf zendoptimizer-2.5.3-linux-glibc21-i386.tar.gz with Zendoptimizer #cd
zendoptimizer-2.5.3-linux-glibc21-i386 #./install.sh installation of the time to pay attention to input the correct installation of Apache path and so on!
Installation finished, and then look at the phpinfo page Zend option found!!
This is from get, installation is not easy, I also tried a good big strength, if there is any problem, you can go to that page to see, there are some solutions to the problem, good Luck. In addition, the group IDC online have a lot of product group purchase, cheap have Word-of-mouth