WindowsNotes

Configuration notes for Windows.

Windows requires a little massaging. This, after much hand wringing, isn't an IIS vs Apache issue as much as it is a Windows vs Linux issue. File paths are handled differently, PHP behaves differently, and directory permissions are different.

If after installing on Windows you get "The Sorry Bear" error, you may need to make a change to your config/core/config.php file. It will probably look like this:

define('PHPWS_SOURCE_DIR', 'D:\phpws_install_dir\/');
define('PHPWS_HOME_DIR', 'D:\phpws_install_dir\/');

It needs to look like this:
define('PHPWS_SOURCE_DIR', 'D:\\phpws_install_dir\\');
define('PHPWS_HOME_DIR', 'D:\\phpws_install_dir\\');

You will also need to change this:

define('MOD_REWRITE_ENABLED', true);

to

define('MOD_REWRITE_ENABLED', false);

If you are running IIS. If you are running Apache on Windows it should work fine. IIS does have it's own version of mod rewrite called ISAPI rewrite. But it has not been documented to work with Phpwebsite at this time.


Last modified 03/30/2009 04:56:46 PM by trf000

Immutable Page | Discussion | Print View | History |