Wiki configuration related Records

Source: Internet
Author: User
Tags pear

1, install Appserv v 2.5.10 for Windows


  • Apache Web Server Version 2.2.8
  • PHP Script Language Version 5.2.6
  • MySQL Database Version 5.0.51b
  • phpMyAdmin Database ManagerVersion2.10.3

    I 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:



  • Wiki configuration related Records

    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.