phpMyAdmin Database ManagerVersion2.10.3I put the appserv in D:\AppServ
Follow the prompts to install, after success, can be accessed via URL, such as: http://192.168.4.16:808
2, download wiki v1.19 from MediaWiki official website (previously tried the latest v1.23, but has failed)
Unzip copy to D:\AppServ\www
I downloaded the v1.19, so this folder name is temporarily set to D:\AppServ\www119
Wikis can be accessed via URLs, such as http://localhost:808/wiki119 (note that this is only localhost for the time being)
3, but the wiki is not available at this time and requires a series of initialization actions.
http://localhost: 808/wiki119/mw-config/index.php
Follow the prompts step-by-step setup, and the database is created automatically
4, there are some modifications, such as:
1) Change localhost to IP address
http://192.168.4.16:808 ensure that other colleagues have access to this URL
2) Upload file type and size
D:\AppServ\www\wiki119\LocalSettings.php
$wgMaxUploadSize = 5020000; 4.79MB
$wgAllowExternalImages = true;
$wgFileExtensions = Array (' PNG ', ' gif ', ' jpg ', ' jpeg ', ' Doc ', ' ppt ', ' pdf ', ' docx ', ' xls ', ' xlsx ', ' pptx ', ' txt ', ' ico ', ' RTF ' ‘ );
3) Hide warning, show only fatal error
C:\Windows php.iniinModifyerror_reporting= E_error; Just let it show a fatal error.
Memory_limit = 24M; Maximum amount of memory a script may consume (8MB) modified tomemory_limit = 600M;
4) Modify the big logo on the left and the small logo on the bottom
Big Logo:d:\appserv\www\wiki119\skins\common\images\wiki.png
Little Logo:d:\appserv\www\wiki119\skins\common\images\poweredby_mediawiki_88x31.png
5) Set up the mailbox, need to install pear and mail components, etc.
Select Double-click D:\AppServ\php5\go-pear.bat (Install pear), wait a moment, follow the prompts to enter Y first, and then go directly
Finally, the pear will prompt you to install successfully.
At this point, the D:\AppServ\php5\pear.bat will be automatically generated.
Enter pear.bat with the cmd command
Pear Install mail
Pear Install NET_SMTP
Then prompt: Net_socket and NET_SMTP installed successfully.
Set the user name, password, mail server to send the message
I'm setting up a smtp.163.com here for the moment.
Note the new Registration 163 mailbox POP3, STMP service to open.
Test mail function: On the wiki settings, click confirm Email Verification, you will be prompted to send the message successfully. The corresponding mailbox will indeed receive the mail.
Reference: http://blog.csdn.net/zuiaituantuan/article/details/5816523
http://blog.goods-pro.com/2701/pear-mail-php/
Results: