Red Hat Enterprise Linux 6¶
Satisfying Dependencies¶
Start with a standard server install with the Web Server profile selected. Enable the Optional Repository by logging into RHN and selecting it.
Enable the Extra Packages for Enterprise Linux (EPEL) repository:
#rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm
Install dependencies:
#yum install php-devel ImageMagick-devel php-pecl-apc php-mysql libuuid-devel gcc php-ldap php-mbstring clamd clamav-devel php-curl php-xml php-bcmath
Install pear packages that are not in the RHEL or EPEL repositories:
#pear install Log PECL/Imagick PECL/UUID
Enable PHP Extensions:
#echo 'extension=imagick.so' > /etc/php.d/imagick.ini
#echo 'extension=uuid.so' > /etc/php.d/uuid.ini
Download the php clam-av extension from http://php-clamav.sourceforge.net/ At the time of this writing the current version was 0.15.6. Install php-clamav:
#tar xvzf php-clamav-0.XX.tar.gz
#cd php-clamav-0.XX
#phpize
#./configure --with-clamav
#make
#mkdir -p /usr/local/lib/php/extensions/
#cp modules/clamav.so /usr/local/lib/php/extensions/
Enable the module:
#echo 'extension=/usr/local/libfd/php/extensions/clamav.so
[clamav]
clamav.dbpath="/var/lib/clamav"
clamav.maxreclevel=16
clamav.maxfiles=10000
clamav.maxfilesize=26214400
clamav.maxscansize=104857600
clamav.keeptmp=0
clamav.tmpdir="/tmp"' > /etc/php.d/clamav.ini
PDFLib is used to generate PDFs of applications. It isn’t free and we want to replace it but there does not seem to be a better solution available. If you want to be able to create PDFs of applications you will need to purchase and install PDFLib from http://www.pdflib.com/
Edit your apache configuration to allow .htaccess to work by adding AllowOverride FileInto to the Jazzee Directory
Set your correct timezon in /etc/php.ini. eg date.timezon=America/Los_Angelas