Install required packages on RedHat / Centos / Fedora

Install Apache web server

$ sudo yum install httpd
$ sudo chkconfig httpd on
$ sudo service httpd start

Install PHP

Install PHP and PHP support for the database you've installed for Bacula

with MySQL database support

$ sudo yum install php php-gd php-gettext php-mysql php-pdo

with postgreSQL database support

$ sudo yum install php php-gd php-gettext php-pgsql php-pdo

with SQLite database support

$ sudo yum install php php-gd php-gettext php-pdo

Change SQLite database file permissions

Assuming that the bacula database file is located under /var/spool/bacula

# chmod -v 705 /var/spool/bacula

# chmod -v 704 /var/spool/bacula/bacula.db