Manual:Newcomers guide to installing on Windows/PHP php.ini

From MediaWiki.org
Jump to navigation Jump to search

windows sendmail.exe configuration[edit]


php.ini

sendmail_path = "\"C:\xampp\sendmail\sendmail.exe\" -t"


LocalSettings.php

$wgSMTP = array(
 'host'     => "smtp.gmail.com",    // could also be an IP address. Where the SMTP server is located
 'IDHost'   => "mywiki.com",        // Generally this will be the domain name of your website (aka mywiki.org)
 'port'     => 587,                 // Port to use when connecting to the SMTP server
 'auth'     => true,                // Should we use SMTP authentication (true or false)
 'username' => "morisdov@gmail.com",     // Username to use for SMTP authentication
 'password' => "ZXY...your.password"     // Password to use for SMTP authentication
);