apache+mysql+php_for_linux全攻略(国外英文资料).doc
文本预览下载声明
apache+mysql+php_for_linux全攻略(国外英文资料)
Apache + mysql + PHP for Linux
Download MySQL, PHP, apache
What kits are required to set up such a host? Not: Apache, MySQL, and PHP!
Apache: Apache are up to 2.0 X version, but the most widely used or belong to 1.3 X version, this version is out of the latest 1.3.20 version, you can go and see the homepage for the Apache related information:
Apache home page (English) :
Apache suite (downloaded from the home page) :
PHP: you can go to the main page of PHP and see some of the relevant!
PHP home page (English) :
PHP home page downloads:
MySQL: the latest version is 3.23.41, and you can also go to the official MySQL website.
MySQL homepage (English) :
MySQL homepage downloads:
In other words, we need three files:
Apache - 1.3.20. Tar. Gz
PHP - 4.0.6. Tar. Gz
Mysql - 3.23.41. Tar. Gz
Install MySQL, PHP, and apache
Install the three suite is more need to be careful, because if use RPM to upgrade, might not be able to obtain the latest version of the suite, so here we use the most original source of the upgrade method. Heres how to install it:
Remove the old duping and unzipped:
Remove the relevant old material, if you are RedHat 6.1, then you can remove the following suite.
[root @tsai/root] # rpm-e mod_perl
[root @tsai/root] # rpm-e phpfi
[root @tsai/root] # rpm-e apache
Of course, if youve installed an old version of Apache, PHP, or MySQL, you can remove it. In fact this is a personal habit, some people like to keep both versions in their system, if you want to install the two versions in your system, then you dont need to remove the RPM installation package! However, in order to be afraid of the system conflict, you must use setup to cancel the HTTPD, PHP, and mysql services.
Extract:
If you will be the Apache, MySQL, and PHP placed three files in the directory/home/test, and will give information to/usr/local, you can do this command:
[root @tsai/root] # CD/usr/local
[root @tsai local] [root @tsai local] # tar-zxvf/home/test/apa
显示全部