4.3 - Install Additional PHP Modules and Packages

Install Additional PHP modules and packages

The following is a list of required packages that Convention master utilizes in order to operate successfully. These packages are listed by their Ubuntu package manager names.

Package Name Purpose
html2ps

Converts HTML pages to PostScript files for sending to CUPS.

*Note html2ps is a command line program and the Apache webserver cannot verify this is installed.

htmldoc

Converts HTML pages to PostScript files for sending to CUPS.

*Note html2Doc is a command line program and the Apache webserver cannot verify this is installed.

php5-curl

 

Curl is used to have scripts remote get content such as badge images or AUP pages.

 

php5-gd

Graphics Development Library is used to generate badge images and graphs.

php5-mysql

This allows PHP to communicate with the MySQL database.

php5-mcrypt

Used for cryptographic functions in order to encrypt data for storage and transmission.

php5-mhash Advanced hashing algrithms, used in conjunction with mcrypt
python-imaging Used to render the badge images and the zebra 2844 label printers

With Ubuntu, we can install many of these packages all at once.

 

sudo apt-get install html2ps php5-curl php5-mhash php5-gd php5-mcrypt python-imaging htmldoc

 

This command will likely result in a LOT of dependencies to be installed and/or updated Type &lquot;Y&rquot; to install them. The installation will complete and you wil need to restart Apache once again.

 

sudo service apache2 restart

 

Once Apache has been restarted, if all the required libraries are installed then when you re-load http://<your.server.ip.address>/setup/ you should see the following screen: