Compare commits

..

No commits in common. "da6ac36b02d65d9909ad3db1ccac16cc63b057d6" and "64bc8dec7314f1be560edba6db573cf4a4804c61" have entirely different histories.

View File

@ -19,8 +19,8 @@ $STD apt-get install -y \
sudo \ sudo \
mc \ mc \
apache2 \ apache2 \
php8.2-{apcu,cli,common,curl,gd,imap,ldap,mysql,xmlrpc,xml,mbstring,bcmath,intl,zip,redis,bz2,soap} \ php \
php-cas \ php-{apcu,cli,common,curl,gd,imap,ldap,mysql,xmlrpc,xml,mbstring,bcmath,intl,zip,redis,bz2,soap,cas} \
libapache2-mod-php \ libapache2-mod-php \
mariadb-server mariadb-server
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
@ -127,9 +127,9 @@ a2enmod rewrite
a2ensite glpi.conf a2ensite glpi.conf
msg_ok "Configured VirtualHost" msg_ok "Configured VirtualHost"
msg_info "Setting Automatic Actions" msg_info "Setting Cron task"
(crontab -l 2>/dev/null; echo "* * * * * php /opt/glpi/front/cron.php") | crontab - echo "*/2 * * * * www-data /usr/bin/php /opt/glpi/front/cron.php &>/dev/null" >> /etc/cron.d/glpi
msg_ok "Configured Automatic Actions" msg_ok "Configured Cron task"
msg_info "Changing parameters in php.ini" msg_info "Changing parameters in php.ini"
PHP_VERSION=$(ls /etc/php/ | grep -E '^[0-9]+\.[0-9]+$' | head -n 1) PHP_VERSION=$(ls /etc/php/ | grep -E '^[0-9]+\.[0-9]+$' | head -n 1)