Wiki Installation Memo _php tutorial

Source: Internet
Author: User
Tags mediawiki
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 ... )

  • 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.