wiki:InstallingOnWindowsBasicConfiguration

Hints & tips for installing bw-rox on windows machines – Part 1 : basic configuration

PHP
Minimum requirement: 5.1.0, recommended 5.4+
In php.ini, make sure to set the following:

  • extension GD2.dll on
  • extension mysql.dll on
  • short_open_tags on
  • magic quotes gpc off

error_reporting could be done here or in apache config (see below). But you'll need to hunt the respective error_reporting statements in the code, to let this have influence at all.
For newer php versions you should set the timezone, most handy in your ini.

MYSQL
see Rox install-guide as it's the same for Linux and Windows. Don't forget to check if there were any changes since the last test-database was compiled.
http://trac.bewelcome.org/wiki/DatabaseChanges

APACHE

  1. You might want to create a virtual host to be able to test easily. This is done in : "\conf\extra\httpd-vhosts.conf"

Examplecode :
<VirtualHost *:80>

ServerName name
DocumentRoot "c:/<path>/rox/htdocs"
#php_admin_value error_reporting 30719
<Directory "c:/<path>/rox/htdocs">

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^/*([^/]*)\.php /bw/$1.php [L,R,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.* index.php [L,QSA,PT]

</Directory>

</VirtualHost>

Bold text needs attention.
Make sure to include this file in the httpd.conf (uncomment)
Make sure to run your text-editor 'as administrator' when editing these files.

  1. Add your vhostname in "c:/windows/system32/drivers/etc/hosts"

127.0.0.1 name

  1. Restart Apache.

Part 0 : [InstallingOnWindows] - introduction
Part 2 : [InstallingOnWindowsGettingBwRox] - get the BW-Rox code
Part 3 : [InstallingOnWindowsBwRoxConfiguration] - get BW Rox ready to go
Part 4 : [InstallingOnWindowsOptionalUnits] - some extra's

Last modified 3 years ago Last modified on Apr 19, 2014 8:07:22 PM