WebMail PHP Installation Instructions for Windows

  1. Download webmail_php.zip archive.

  2. Unpack "web" folder of the archive into the web server's folder (for instance, webmailphp). This folder must be accessible from the Internet at the URL (e.g. http://www.yourserver.com/webmailphp).

  3. Unpack "data" folder of this archive into location where MailBee WebMail PHP will store its settings, temporary files and folders (e.g. "C:\WebMail\data"). Please note, to protect this folder contents from unauthorized access, make sure this folder cannot be accessed from the web.

  4. Open settings_path.php file from webmailphp folder, and set the value of the $strIniDir variable to the physical path of data folder (e.g. $strIniDir = "C:/WebMail/data/"; that is equal to $strIniDir = "C:\\WebMail\\data\\";).

  5. Make sure the files can be written into "data" folder by the MailBee WebMail PHP application:

    • for Windows IIS server, make sure Internet Guest User has "Full Control" permission for the "data" folder and all its subfolders.


    Note: if "data" folder permissions are not set, MailBee WebMail PHP may not be able to create/ delete temporary files or folders and to save "Administration Console" settings.

  6. Please check up if the 'index.php' file is present in the list of default documents and if the default documents are enabled in the properties of your web site (see the 'Documents' tab of web site properties in IIS Manager). If 'index.php' file is present in the list of default documents, all users will be able to access MailBee WebMail PHP at http://www.server.com/webmailphp (otherwise, they have to access it at http://www.yourserver.com/webmailphp/index.php).

  7. Make sure IMAP module is enabled. To check this, navigate to http://yourserver.com/webmailphp/index.php. If you see IMAP module connection error, you should enable IMAP module using the settings of your PHP engine. Also, make sure php.ini configuration file references to php_imap.dll module. The corresponding "extension = php_imap.dll" line must not start with ";". If it does, remove the ";" character, save the file, and try to navigate to http://yourserver.com/webmailphp/index.php again.

    If IMAP module is still not available, make sure php_imap.dll exists in PHP extensions folder on the web server. Path to the PHP extensions folder is specified in extension_dir variable of php.ini file. By default, PHP folder is "C:\path_to_php\ext\".

  8. Make sure ICONV module is enabled. To check this, navigate to http://yourserver.com/webmailphp/index.php. If you see ICONV module connection error, you should enable ICONV module using the settings of your PHP engine. Make sure php.ini configuration file references php_iconv.dll module. Corresponding "extension = php_iconv.dll" line must not start with ";". If it does, remove ";" character, save the file, and then try to navigate to http://yourserver.com/webmailphp/index.php again.

    If ICONV module is still not available, make sure php_iconv.dll exists in PHP extensions folder on the web server. Path to the PHP extensions folder is specified in extension_dir variable of php.ini file. By default, PHP folder is "C:\path_to_php\ext\".

    To enable ICONV module in the Windows environment, you need to put the iconv.dll file, which is bundled along with the PHP/Win32 binary package into directory, specified by the PATH environment variable or one of the system directories of your Windows installation.

  9. If you have PHP 4 installed on your web server, please make sure DOM XML module is enabled. To check this, navigate to http://yourserver.com/webmailphp/index.php. If you see DOM XML module connection error, you should enable DOM XML module using the settings of your PHP engine. Also, make sure php.ini configuration file references to php_domxml.dll module. The corresponding "extension = php_domxml.dll" line must not start with ";". If it does, remove the ";" character, save the file, and try to navigate to http://yourserver.com/webmailphp/index.php again.

    If DOM XML module is still not available, make sure php_domxml.dll exists in PHP extensions folder on the web server. Path to the PHP extensions folder is specified in extension_dir variable of php.ini file. By default, PHP folder is "C:\path_to_php\ext\".

    Please note, DOM XML extension is not needed in PHP 5 and higher.

  10. In your browser, navigate to http://yourserver.com/webmailphp/mailadm.php and type "mailadm" as login and "12345" as default password to enter the Administration Console. Once logged in, it's recommended to click WebMail Settings to change the default password and then click "Save" button to apply changes.

  11. Now you can edit the following settings:

    • WebMail settings
    • Interface settings
    • Login settings
    • Debug settings

    Also, you can browse the online documentation ("Help" link) or log out of Administration Console ("Exit" link).

  12. Now installation is complete. Please refer to Administration Panel for administration details.

    See WebMail PHP administration

  13. MailBee WebMail PHP is ready to use.

    Start using it at http://your_server_name/webmailphp/index.php.



If you have any questions don't hesitate to email to support@afterlogic.com
Or visit our support web page at http://www.afterlogic.com/support
or web forum at http://www.afterlogic.com/forum