Installing PHP 8.3 fails on Debian 10 due to missing Xdebug package
arnaudbroes opened this issue · comments
Seeing this issue when running the following command -
wo site update acme.com --php83
2023-12-04 23:13:07,107 (INFO) wo : Updating apt-cache
2023-12-04 23:13:07,108 (INFO) wo : Installing APT packages
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package php8.3-xdebug
E: Couldn't find any package by glob 'php8.3-xdebug'
E: Couldn't find any package by regex 'php8.3-xdebug'
=====================================================
System Information
-
lsb_release -a
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster
-
wo info
NGINX (1.24.0 ):
user www-data
worker_processes auto
worker_connections 50000
keepalive_timeout 8
fastcgi_read_timeout 300
client_max_body_size 100m
allow 127.0.0.1 ::1
PHP 7.2 is not installed
PHP (8.2.13):
user
expose_php Off
memory_limit 128M
post_max_size 100M
upload_max_filesize 100M
max_execution_time 300
Information about www.conf
ping.path /ping
pm.status_path /status
process_manager ondemand
pm.max_requests 1500
pm.max_children 50
pm.start_servers 10
pm.min_spare_servers 5
pm.max_spare_servers 15
request_terminate_timeout 300
xdebug.profiler_enable_trigger off
listen php82-fpm.sock
Information about debug.conf
ping.path /ping
pm.status_path /status
process_manager ondemand
pm.max_requests 1500
pm.max_children 50
pm.start_servers 10
pm.min_spare_servers 5
pm.max_spare_servers 15
request_terminate_timeout 300
xdebug.profiler_enable_trigger on
listen 127.0.0.1:9182
MySQL (10.11.6-MariaDB) on localhost:
port 3306
wait_timeout 60
interactive_timeout 28800
max_used_connections 4
datadir /var/lib/mysql/
socket /var/run/mysqld/mysqld.sock
my.cnf [PATH] /etc/mysql/conf.d/my.cnf
-
nginx -V
nginx version: nginx/1.24.0 (WordOps Nginx-wo)
-
wo -v
WordOps v3.19.1
Copyright (c) 2024 WordOps.
-
wp cli info --allow-root
OS: Linux 4.19.0-20-cloud-amd64 #1 SMP Debian 4.19.235-1 (2022-03-17) x86_64
Shell: /bin/bash
PHP binary: /usr/bin/php8.2
PHP version: 8.2.13
php.ini used: /etc/php/8.2/cli/php.ini
MySQL binary: /usr/bin/mysql
MySQL version: mysql Ver 15.1 Distrib 10.11.6-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
SQL modes: STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
WP-CLI root dir: phar://wp-cli.phar/vendor/wp-cli/wp-cli
WP-CLI vendor dir: phar://wp-cli.phar/vendor
WP_CLI phar path: /root
WP-CLI packages dir:
WP-CLI cache dir: /root/.wp-cli/cache
WP-CLI global config:
WP-CLI project config:
WP-CLI version: 2.9.0
-
curl -sL git.io/fjAp3 | sudo -E bash -
Here the link to provide in your github issue : https://transfer.vtbox.net/K1lLXp/wordops.txt
Hello @arnaudbroes,
Thanks for you report. I noticed this issue just after publishing the v3.19.0 release but it's probably just a matter of time before the availability of the php8.3-xdebug package on Debian. It's already available on Ubuntu, so it should not take a long time before being available on Debian too. If the issue still exist in the next 2 weeks, I will publish a fix for Debian.
Hello @arnaudbroes, Thanks for you report. I noticed this issue just after publishing the v3.19.0 release but it's probably just a matter of time before the availability of the php8.3-xdebug package on Debian. It's already available on Ubuntu, so it should not take a long time before being available on Debian too. If the issue still exist in the next 2 weeks, I will publish a fix for Debian.
Thanks for the quick response!
I want to install php8.3 but concerned about the additional apache items it will include.
root@svr1:~# uname -a ; lsb_release -a
Linux svr1 4.19.0 #1 SMP Thu Dec 15 20:31:06 MSK 2022 x86_64 GNU/Linux
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
root@svr1:~# sudo apt install php8.3
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
apache2 apache2-bin apache2-data apache2-utils libapache2-mod-php8.3 libapr1 libaprutil1 libaprutil1-dbd-sqlite3
libaprutil1-ldap liblua5.3-0 php8.3-cli php8.3-common php8.3-opcache php8.3-readline
Suggested packages:
apache2-doc apache2-suexec-pristine | apache2-suexec-custom php-pear
The following NEW packages will be installed:
apache2 apache2-bin apache2-data apache2-utils libapache2-mod-php8.3 libapr1 libaprutil1 libaprutil1-dbd-sqlite3
libaprutil1-ldap liblua5.3-0 php8.3 php8.3-cli php8.3-common php8.3-opcache php8.3-readline
0 upgraded, 15 newly installed, 0 to remove and 2 not upgraded.
Need to get 6839 kB of archives.
After this operation, 30.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
root@svr1:~#
Hello @arnaudbroes, php8.3-xdebug is now available on Debian. Can you confirm it's working now ?
@samkatakouzinos, you should now be able to install php83 with wo stack install --php83
. But to answer to your question, you were probably looking for php8.3-cli package and not php8.3.
Confirmed, it's working now 👍🏼
@samkatakouzinos, you should now be able to install php83 with
wo stack install --php83
. But to answer to your question, you were probably looking for php8.3-cli package and not php8.3.
May you update https://docs.wordops.net/commands/site/#site-update to include --php83 please?