From 0a45ff2d1032ed5119aaabee3abbfbb7b6dc0be5 Mon Sep 17 00:00:00 2001 From: bach Date: Sun, 20 Sep 2026 00:46:18 +0200 Subject: [PATCH] updated php to 8.4 --- .gitignore | 3 ++- Docker/php/Dockerfile | 13 ++++--------- Docker/php/bashrc | 2 +- 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 23e863e..577ec03 100644 --- a/.gitignore +++ b/.gitignore @@ -8,4 +8,5 @@ solr_cores/* solr_data/* var_solr/* ressources/xdebug.ini -ressources/*.sql.gz \ No newline at end of file +ressources/*.sql.gz +ai-docs/ \ No newline at end of file diff --git a/Docker/php/Dockerfile b/Docker/php/Dockerfile index fc91cad..774d89a 100644 --- a/Docker/php/Dockerfile +++ b/Docker/php/Dockerfile @@ -1,4 +1,4 @@ -FROM php:8.1-fpm-bullseye +FROM php:8.4-fpm-bookworm RUN apt-get update && apt-get install -y \ libfreetype6-dev \ @@ -19,19 +19,14 @@ RUN apt-get update && apt-get install -y \ docker-php-ext-install opcache && \ docker-php-ext-install bcmath && \ apt-get install -y git vim && \ - pecl install redis-5.3.7 && \ - pecl install xdebug-3.1.3 && \ + pecl install redis && \ + pecl install xdebug && \ docker-php-ext-enable redis xdebug RUN export COMPOSER_HOME=/usr/local/composer && \ curl -sS https://getcomposer.org/installer \ | php -- --install-dir=/usr/local/bin --filename=composer && \ - curl https://drupalconsole.com/installer \ - -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 + ln -sf /var/www/html/d8.materio.com/public_html/vendor/bin/drush /usr/local/bin/drush # todo this is not building any more, do i really need this ? (22-10-2021) # RUN apt-get install -y curl && \ diff --git a/Docker/php/bashrc b/Docker/php/bashrc index e82cf1b..90d6963 100644 --- a/Docker/php/bashrc +++ b/Docker/php/bashrc @@ -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[B": history-search-forward'