Poster Printer Submission and Accounting Program
- PHP Composer
- PHP Mysql
- PHP LDAP
- PHP Imagick
- Add apache config to apache configuration to point to html directory
Alias /posterprinter /var/www/posterprinter/html
<Directory /var/www/posterprinter/html>
AllowOverride None
Require all granted
</Directory>
- Create mysql database
CREATE DATABASE posterprinter CHARACTER SET utf8;
- Run the sql/posterprinter.sql on the mysql server.
mysql -u root -p posterprinter < sql/posterprinter.sql
- Create a user/password on the mysql server which has select/insert/delete/update permissions on the posterprinter database.
CREATE USER 'posterprinter'@'localhost' IDENTIFIED BY 'STRONG_PASSWORD';
GRANT SELECT,INSERT,UPDATE ON posterprinter.* to 'posterprinter'@'localhost';
- Copy conf/settings.inc.php.dist to conf/settings.inc.php
cp conf/settings.inc.php.dist conf/settings.inc.php
- Edit conf/settings.inc.php with your mysql and ldap settings
- Create folder posters and set permssions so the apache user has write permissions
mkdir posters
chown apache.apache posters
- Run composer install to install dependencies
composer install
- Edit the php.ini file so it has the following settings.
- file_uploads = On
- upload_max_filesize = 200M
- post_max_size = 200M
- memory_limit = 200M
- max_input_time = 100
- max_execution_time = 100
- To convert ppt/pptx files for preview, you need to install libreoffice and unoconv from
yum install libreoffice libreoffice-pyuno
- All Done!