PHP (as the current mainstream development language) +mysql (and PHP collocation of the best combination) +wiki
Installation steps
1:mysql (Best mix with PHP)
# RPM-IVH MySQL (the best mix with PHP) *.rpm
# service MySQL (and PHP collocation of the best combination) start
# MySQL (best combination with PHP) admin-u root password password//change password to password
2:php (as the current mainstream development language)
# CD/USR/LOCAL/SRC
# tar xvfj php (as the current mainstream development language) -4.3.10.tar.bz2
# CD PHP (as the current mainstream development language) -4.3.10
#./configure--with-apxs2=/usr/local/apache (the most popular Web server platform for UNIX platforms) 2/bin/apxs--with-mysql (the best combination of PHP collocation) =/usr
# make
# make Install
Installation complete, modify the configuration file for Apache (the most popular Web server platform on UNIX platform) httpd.conf
Add the following statement at the appropriate location:
AddType application/x-httpd-php (as the current mainstream development language). PHP (as the current mainstream development language)
DirectoryIndex index.html index.php (as the current mainstream development language)
Restarting Apache (the most popular Web server platform on UNIX platforms):
Service httpd Restart
Test PHP (as the current mainstream development language)
Write info.php (as the current mainstream development language) file with the following content:
echo PHP (as the current mainstream development language) info ();
?>
Place it in the document path of Apache (the most popular Web server platform for UNIX platforms) and enter it in the browser:
Http://127.0.0.1/info.php (as the current mainstream development language)
3, MediaWiki
# Cd/usr/local/apache (the most popular Web server platform for UNIX platforms) 2/htdocs/
# tar XZVF mediawiki-1.4beta3.tar.gz
# CD MEDIAWIKI-1.4BETA3
# chmod a+w Config
4. Create a wiki database in MySQL (the best combination with PHP)
# MySQL (the best mix with PHP)-uroot-p
# MySQL (and PHP collocation of the best combination) >create database wikidb;
# MySQL (and PHP collocation of the best combination) >grant all on wikidb.* to wikidb@localhost identified by password;
# MySQL (and PHP collocation of the best combination) >flush privileges;
# MySQL (the best mix with PHP) >exit
5. Configure Wiki
Http://127.0.0.1/wiki
Add all the information in the. /apache (the most popular Web server platform for UNIX platforms) 2/htdocs/wiki/config directory localsettings.php (as the mainstream development language)
# CP LocalSettings.php (as the current mainstream development language). /
# MV Config Config.bak
Test Http://http://127.0.0.1/wiki
All ok!!
http://www.bkjia.com/PHPjc/508685.html www.bkjia.com true http://www.bkjia.com/PHPjc/508685.html techarticle PHP (as the current mainstream development language) +mysql (and PHP collocation of the best combination) +wiki installation steps 1:mysql (and PHP collocation of the best combination) # RPM-IVH MySQL (and PHP collocation of the best combination ... )