updated php to 8.4

This commit is contained in:
2026-09-20 00:46:18 +02:00
parent 2f9fdcea77
commit 0a45ff2d10
3 changed files with 7 additions and 11 deletions
+2 -1
View File
@@ -8,4 +8,5 @@ solr_cores/*
solr_data/* solr_data/*
var_solr/* var_solr/*
ressources/xdebug.ini ressources/xdebug.ini
ressources/*.sql.gz ressources/*.sql.gz
ai-docs/
+4 -9
View File
@@ -1,4 +1,4 @@
FROM php:8.1-fpm-bullseye FROM php:8.4-fpm-bookworm
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
libfreetype6-dev \ libfreetype6-dev \
@@ -19,19 +19,14 @@ RUN apt-get update && apt-get install -y \
docker-php-ext-install opcache && \ docker-php-ext-install opcache && \
docker-php-ext-install bcmath && \ docker-php-ext-install bcmath && \
apt-get install -y git vim && \ apt-get install -y git vim && \
pecl install redis-5.3.7 && \ pecl install redis && \
pecl install xdebug-3.1.3 && \ pecl install xdebug && \
docker-php-ext-enable redis xdebug docker-php-ext-enable redis xdebug
RUN export COMPOSER_HOME=/usr/local/composer && \ RUN export COMPOSER_HOME=/usr/local/composer && \
curl -sS https://getcomposer.org/installer \ curl -sS https://getcomposer.org/installer \
| php -- --install-dir=/usr/local/bin --filename=composer && \ | php -- --install-dir=/usr/local/bin --filename=composer && \
curl https://drupalconsole.com/installer \ ln -sf /var/www/html/d8.materio.com/public_html/vendor/bin/drush /usr/local/bin/drush
-L -o /usr/local/bin/drupal && \
chmod +x /usr/local/bin/drupal && \
curl https://github.com/drush-ops/drush-launcher/releases/download/0.6.0/drush.phar \
-L -o /usr/local/bin/drush && \
chmod +x /usr/local/bin/drush
# todo this is not building any more, do i really need this ? (22-10-2021) # todo this is not building any more, do i really need this ? (22-10-2021)
# RUN apt-get install -y curl && \ # RUN apt-get install -y curl && \
+1 -1
View File
@@ -1,4 +1,4 @@
PS1='\e[36m\e[1mPHP-7.4\e[0m:\e[90m\w\e[0m\n$ ' PS1='\e[36m\e[1mPHP-8.4\e[0m:\e[90m\w\e[0m\n$ '
bind '"\e[A": history-search-backward' bind '"\e[A": history-search-backward'
bind '"\e[B": history-search-forward' bind '"\e[B": history-search-forward'