For this installation, it is assumed that you have a working installation of MySQL, Apache httpd, and PHP. Bumblebee has been tested with MySQL 4.0.24, Apache 1.3.33, Apache 2.x and PHP 4.3.10; Please note that the 1.0 series of Bumblebee will not work with PHP5 because the behaviour of the assignment operator has changed drastically between PHP4 and PHP5.
install/install.php
using your browsermysql
database. The root
user always has these privileges; you could also create a user with the necessary permissions yourself.
bumblebee.sql
file then
either load it into the database using either phpMyAdmin (click on the "SQL" link)
or load it using the mysql command line tools:
(mysql -p --user username < bumbelebee.sql
)db.ini
and .sql
files.db.ini
into your Bumblebee installation on the webserver as config/db.ini
.config/bumblebee.ini
to your taste (configuring Bumblebee).theme/
if you want.Permission for PHP to undertake the following operations is required for full functionality. Note that Bumblebee will work quite happily with the default setup of PHP, but for the case of sites where the default configuration is not used... If you find any other gotchas, then please let us know.
PHP function | Required for | Impact | Fix |
---|---|---|---|
mysql_*() | mysql_pconnect used for connection to the MySQL database to do anything | not functional | include extension=mysql.so in your php.ini file
and ensure that the mysql libraries are installed for PHP.
|
system() | There is one system call to execute mysqldump | "Backup database" won't work | if PHP safe_mode is on, the location of mysqldump must be in safe_mode_exec_dir
specified in php.ini
|
mail() | (optional) email notifications of bookings and sending PDF reports | Sending emails will fail | Specify the correct smtp or sendmail settings in the [mail function] section of php.ini
|
PEAR::Auth
and PEAR::Auth::Radius
as well as the
PECL RADIUS module (see library paths)
are required.
PEAR::Auth
(which includes the LDAP container) is required (see library paths).
Additionally, PHP must be compiled with LDAP support and OpenLDAP should be installed on your server; this
is the case for most distributions, but search in the output from phpinfo() for the compilation options and LDAP
configuration.
(NOTE: LDAP authentication was added to Bumblebee from version 1.0.1.)
require 'fpdf/fpdf.php'
.
(see library paths)
Note for users of developer snapshots: the PEAR modules for RADIUS, LDAP and PHP4/5 compatability along with the FPDF library and a customised version of the PHP-gettext translation library are included in the download. If you want to use RADIUS authentication, then you still need the PECL RADIUS module
Bumblebee looks for PHP libraries on the standard include path, plus the path
specified in the bumblebee.ini
configuration file (ExtraIncludePath
:
configuring Bumblebee).