Bromine is a web application written in PHP/MySQL.

To run it, you will need a web server with PHP, and a MySQL database server running. If you're new to this we recommend xampp 1.7.1 (newer versions will result in warnings).

Once you have installed the above prerequisites, you need to edit the php.ini. If using xampp, php.ini is located at xampp\php

As you might know, Selenium tests can run for a long time, so we need to make PHP allow long running times.

Find the line that starts with max_execution_time, and set it to a number higher than 60000, like:

max_execution_time = 60001

Find the line that starts with max_input_time, and set it to a number higher than 60000, like:

max_input_time = 60001

You'll also need to turn off magic_quotes_gpc and turn on allow_url_fopen in the same file:

magic_quotes_gpc = Off

allow_url_fopen = On

You also need to have mod_rewrite enabled. Find your apache configuration file (if using xampp this is xampp\apache\conf\httpd.conf) and uncomment the line

LoadModule rewrite_module modules/mod_rewrite.so

You will also need to Allowoveride to All for the webroot, see below example:

<Directory /var/www/>

Options Indexes FollowSymLinks MultiViews

AllowOverride All

Order allow,deny

allow from all

</Directory>

If you want to run PHP tests you'll need to have the php executable (on Windows, php.exe) in your path environment variable.

If you want to run Java tests you'll need to have the Java executable in your path environment variable.

For MySQL you need to have a user with privileges to create and modify tables.

All done.

setting_up_a_webserver_ready_for_bromine.txt · Last modified: 2011/02/23 23:55 by 69.231.131.248
Back to top
CC Attribution-Noncommercial-Share Alike 3.0 Unported
Template by chimeric Valid CSS Driven by DokuWiki Recent changes RSS feed Valid XHTML 1.0