-
Download WebmailPHP.zip archive (for Windows servers) or
WebmailPHP.tar.gz (for *nix servers).
-
Unpack "web" folder of the archive into the web server folder (for instance,
webmailphp). This folder must be accessible from the Internet by an URL
(such as http://www.yourserver.com/webmailphp).
-
Unpack "data" folder of the archive into the location where WebMailPHP will save
its settings, store temporary files and folders (for instance, "C:\WebMail\data").
-
Open settings_path.php in webmailphp folder, and set $strIniDir value to
the physical path of data folder (such as $strIniDir = "C:/WebMail/data/"; (it is equal to $strIniDir = "C:\\WebMail\\data\\";)).
-
Make sure files can be written into data folder by the WebmailPHP application:
-
for Windows IIS server, make sure Internet Guest User has "Full Control"
permission for "data" folder and all its subfolders.
-
for *nix server, set Full Access with CHMOD 766 command for "data" folder
Note: if "data" folder permissions are not set, WebmailPHP may not be able to create/
delete temporary files/folders and save Admin Console settings.
-
Windows IIS users should check if 'index.php' is set in Documents tab of the web site properties
of your web server (in IIS Manager). If 'index.php' is present in the list, users will be able
to access WebmailPHP as http://www.server.com/ webmailphp (otherwise, they would always have to
type http://www.yourserver.com/webmailphp/index.php).
-
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 must enable IMAP module in your server configuration. Make sure php.ini
configuration file references php_imap.dll module (for Windows server) or php_imap.so (for *nix server).
Corresponding "extension = php_imap.dll" or "extension = php_imap.so" lines must not start with ";".
If they do, remove ";" 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 (or php_imap.so for *nix server) exists in PHP folder on the
web server. By default, PHP folder is "C:\path_to_php\ext\" for Windows and "/usr/lib/" for *nix. If the file is missing
in PHP folder, you can take php_imap.dll from WebmailPHP installation package (for Windows server). For *nix server, you
can always download the latest version of php_imap.so from ftp://ftp.cac.washington.edu/imap/.
-
If your server is *nix, you can find more information on how to install PHP IMAP module at http://php.net/manual/ref.imap.php.
-
In your browser, navigate to http://yourserver.com/webmailphp/mailadm.php and type "mailadm" as login and "12345" as password
to enter the Administration Console. Once logged in, it’s recommended to click WebMailPHP Settings, change the default password
and click Save button to apply changes.
-
Now you can edit the following settings:
-
Webmail settings
-
Interface settings
-
Login settings
Also, you can browse the online documentation ("Help" link) or log out Administration Console ("Exit" link).
-
Now installation is complete. Please refer to Administration Panel for administration details.
See WebMailPHP administration
-
WebMailPHP is ready to use.
Start using it from http://your_server_name/webmailphp/index.php.
|