mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-08 16:59:17 +00:00
Compare commits
2 Commits
64bc8dec73
...
da6ac36b02
Author | SHA1 | Date | |
---|---|---|---|
|
da6ac36b02 | ||
|
e5c6ae71af |
@ -19,8 +19,8 @@ $STD apt-get install -y \
|
||||
sudo \
|
||||
mc \
|
||||
apache2 \
|
||||
php \
|
||||
php-{apcu,cli,common,curl,gd,imap,ldap,mysql,xmlrpc,xml,mbstring,bcmath,intl,zip,redis,bz2,soap,cas} \
|
||||
php8.2-{apcu,cli,common,curl,gd,imap,ldap,mysql,xmlrpc,xml,mbstring,bcmath,intl,zip,redis,bz2,soap} \
|
||||
php-cas \
|
||||
libapache2-mod-php \
|
||||
mariadb-server
|
||||
msg_ok "Installed Dependencies"
|
||||
@ -127,9 +127,9 @@ a2enmod rewrite
|
||||
a2ensite glpi.conf
|
||||
msg_ok "Configured VirtualHost"
|
||||
|
||||
msg_info "Setting Cron task"
|
||||
echo "*/2 * * * * www-data /usr/bin/php /opt/glpi/front/cron.php &>/dev/null" >> /etc/cron.d/glpi
|
||||
msg_ok "Configured Cron task"
|
||||
msg_info "Setting Automatic Actions"
|
||||
(crontab -l 2>/dev/null; echo "* * * * * php /opt/glpi/front/cron.php") | crontab -
|
||||
msg_ok "Configured Automatic Actions"
|
||||
|
||||
msg_info "Changing parameters in php.ini"
|
||||
PHP_VERSION=$(ls /etc/php/ | grep -E '^[0-9]+\.[0-9]+$' | head -n 1)
|
||||
|
Loading…
Reference in New Issue
Block a user