Skip to content

hello, start installing all php extensions without having conflicts? #18488

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
aragon5956 opened this issue May 3, 2025 · 3 comments
Closed

Comments

@aragon5956
Copy link

Description

hello, how to install all php extensions without having conflicts?


alexandre@ubuntu:~$ sudo apt install php8.2-*
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'php8.2-xdebug' for glob 'php8.2-*'
Note, selecting 'php8.2-msgpack' for glob 'php8.2-*'
Note, selecting 'php8.2-gmagick' for glob 'php8.2-*'
Note, selecting 'php8.2-xmlwriter' for glob 'php8.2-*'
Note, selecting 'php8.2-rdkafka' for glob 'php8.2-*'
Note, selecting 'php8.2-grpc' for glob 'php8.2-*'
Note, selecting 'php8.2-openswoole' for glob 'php8.2-*'
Note, selecting 'php8.2-mysql' for glob 'php8.2-*'
Note, selecting 'php8.2-pdo-pgsql' for glob 'php8.2-*'
Note, selecting 'php8.2-enchant' for glob 'php8.2-*'
Note, selecting 'php8.2-decimal' for glob 'php8.2-*'
Note, selecting 'php8.2-pspell' for glob 'php8.2-*'
Note, selecting 'php8.2-shmop' for glob 'php8.2-*'
Note, selecting 'php8.2-maxminddb' for glob 'php8.2-*'
Note, selecting 'php8.2-simplexml' for glob 'php8.2-*'
Note, selecting 'php8.2-calendar' for glob 'php8.2-*'
Note, selecting 'php8.2-pdo-sqlite' for glob 'php8.2-*'
Note, selecting 'php8.2-xlswriter' for glob 'php8.2-*'
Note, selecting 'php8.2-smbclient' for glob 'php8.2-*'
Note, selecting 'php8.2-interbase' for glob 'php8.2-*'
Note, selecting 'php8.2-pinba' for glob 'php8.2-*'
Note, selecting 'php8.2-snmp' for glob 'php8.2-*'
Note, selecting 'php8.2-soap' for glob 'php8.2-*'
Note, selecting 'php8.2-xhprof' for glob 'php8.2-*'
Note, selecting 'php8.2-mailparse' for glob 'php8.2-*'
Note, selecting 'php8.2-solr' for glob 'php8.2-*'
Note, selecting 'php8.2-http' for glob 'php8.2-*'
Note, selecting 'php8.2-yaml' for glob 'php8.2-*'
Note, selecting 'php8.2-ssh2' for glob 'php8.2-*'
Note, selecting 'php8.2-inotify' for glob 'php8.2-*'
Note, selecting 'php8.2-swoole' for glob 'php8.2-*'
Note, selecting 'php8.2-pdo-mysql' for glob 'php8.2-*'
Note, selecting 'php8.2-uploadprogress' for glob 'php8.2-*'
Note, selecting 'php8.2-memcache' for glob 'php8.2-*'
Note, selecting 'php8.2-mbstring' for glob 'php8.2-*'
Note, selecting 'php8.2-stomp' for glob 'php8.2-*'
Note, selecting 'php8.2-curl' for glob 'php8.2-*'
Note, selecting 'php8.2-posix' for glob 'php8.2-*'
Note, selecting 'php8.2-bcmath' for glob 'php8.2-*'
Note, selecting 'php8.2-fileinfo' for glob 'php8.2-*'
Note, selecting 'php8.2-tidy' for glob 'php8.2-*'
Note, selecting 'php8.2-phalcon5' for glob 'php8.2-*'
Note, selecting 'php8.2-opcache' for glob 'php8.2-*'
Note, selecting 'php8.2-imap' for glob 'php8.2-*'
Note, selecting 'php8.2-imagick' for glob 'php8.2-*'
Note, selecting 'php8.2-intl' for glob 'php8.2-*'
Note, selecting 'php8.2-libvirt-php' for glob 'php8.2-*'
Note, selecting 'php8.2-readline' for glob 'php8.2-*'
Note, selecting 'php8.2-odbc' for glob 'php8.2-*'
Note, selecting 'php8.2-memcached' for glob 'php8.2-*'
Note, selecting 'php8.2-igbinary' for glob 'php8.2-*'
Note, selecting 'php8.2-mongodb' for glob 'php8.2-*'
Note, selecting 'php8.2-redis' for glob 'php8.2-*'
Note, selecting 'php8.2-phalcon' for glob 'php8.2-*'
Note, selecting 'php8.2-zstd' for glob 'php8.2-*'
Note, selecting 'php8.2-gettext' for glob 'php8.2-*'
Note, selecting 'php8.2-uopz' for glob 'php8.2-*'
Note, selecting 'php8.2-json' for glob 'php8.2-*'
Note, selecting 'php8.2-xmlreader' for glob 'php8.2-*'
Note, selecting 'php8.2-pcov' for glob 'php8.2-*'
Note, selecting 'php8.2-uuid' for glob 'php8.2-*'
Note, selecting 'php8.2-phar' for glob 'php8.2-*'
Note, selecting 'php8.2-pdo-odbc' for glob 'php8.2-*'
Note, selecting 'php8.2-xmlrpc' for glob 'php8.2-*'
Note, selecting 'php8.2-gearman' for glob 'php8.2-*'
Note, selecting 'php8.2-sockets' for glob 'php8.2-*'
Note, selecting 'php8.2-exif' for glob 'php8.2-*'
Note, selecting 'php8.2-opentelemetry' for glob 'php8.2-*'
Note, selecting 'php8.2-tideways' for glob 'php8.2-*'
Note, selecting 'php8.2-vips' for glob 'php8.2-*'
Note, selecting 'php8.2-sysvmsg' for glob 'php8.2-*'
Note, selecting 'php8.2-pdo-dblib' for glob 'php8.2-*'
Note, selecting 'php8.2-oauth' for glob 'php8.2-*'
Note, selecting 'php8.2-phpdbg' for glob 'php8.2-*'
Note, selecting 'php8.2-ds' for glob 'php8.2-*'
Note, selecting 'php8.2-gd' for glob 'php8.2-*'
Note, selecting 'php8.2-mysqli' for glob 'php8.2-*'
Note, selecting 'php8.2-pq' for glob 'php8.2-*'
Note, selecting 'php8.2-ps' for glob 'php8.2-*'
Note, selecting 'php8.2-sysvsem' for glob 'php8.2-*'
Note, selecting 'php8.2-sysvshm' for glob 'php8.2-*'
Note, selecting 'php8.2-sqlite3' for glob 'php8.2-*'
Note, selecting 'php8.2-raphf' for glob 'php8.2-*'
Note, selecting 'php8.2-excimer' for glob 'php8.2-*'
Note, selecting 'php8.2-ast' for glob 'php8.2-*'
Note, selecting 'php8.2-bz2' for glob 'php8.2-*'
Note, selecting 'php8.2-cgi' for glob 'php8.2-*'
Note, selecting 'php8.2-cli' for glob 'php8.2-*'
Note, selecting 'php8.2-dba' for glob 'php8.2-*'
Note, selecting 'php8.2-dev' for glob 'php8.2-*'
Note, selecting 'php8.2-dio' for glob 'php8.2-*'
Note, selecting 'php8.2-dom' for glob 'php8.2-*'
Note, selecting 'php8.2-ffi' for glob 'php8.2-*'
Note, selecting 'php8.2-fpm' for glob 'php8.2-*'
Note, selecting 'php8.2-ftp' for glob 'php8.2-*'
Note, selecting 'php8.2-common' for glob 'php8.2-*'
Note, selecting 'php8.2-gmp' for glob 'php8.2-*'
Note, selecting 'php8.2-sybase' for glob 'php8.2-*'
Note, selecting 'php8.2-ctype' for glob 'php8.2-*'
Note, selecting 'php8.2-pgsql' for glob 'php8.2-*'
Note, selecting 'php8.2-protobuf' for glob 'php8.2-*'
Note, selecting 'php8.2-gnupg' for glob 'php8.2-*'
Note, selecting 'php8.2-ldap' for glob 'php8.2-*'
Note, selecting 'php8.2-tokenizer' for glob 'php8.2-*'
Note, selecting 'php8.2-lz4' for glob 'php8.2-*'
Note, selecting 'php8.2-iconv' for glob 'php8.2-*'
Note, selecting 'php8.2-pdo-firebird' for glob 'php8.2-*'
Note, selecting 'php8.2-mysqlnd' for glob 'php8.2-*'
Note, selecting 'php8.2-pdo' for glob 'php8.2-*'
Note, selecting 'php8.2-psr' for glob 'php8.2-*'
Note, selecting 'php8.2-amqp' for glob 'php8.2-*'
Note, selecting 'php8.2-rrd' for glob 'php8.2-*'
Note, selecting 'php8.2-apcu' for glob 'php8.2-*'
Note, selecting 'php8.2-mcrypt' for glob 'php8.2-*'
Note, selecting 'php8.2-xml' for glob 'php8.2-*'
Note, selecting 'php8.2-xsl' for glob 'php8.2-*'
Note, selecting 'php8.2-yac' for glob 'php8.2-*'
Note, selecting 'php8.2-zip' for glob 'php8.2-*'
Note, selecting 'php8.2-zmq' for glob 'php8.2-*'
Note, selecting 'php8.2-common' instead of 'php8.2-calendar'
Note, selecting 'php8.2-common' instead of 'php8.2-ctype'
Note, selecting 'php8.2-common' instead of 'php8.2-exif'
Note, selecting 'php8.2-common' instead of 'php8.2-ffi'
Note, selecting 'php8.2-common' instead of 'php8.2-fileinfo'
Note, selecting 'php8.2-common' instead of 'php8.2-ftp'
Note, selecting 'php8.2-common' instead of 'php8.2-gettext'
Note, selecting 'php8.2-common' instead of 'php8.2-iconv'
Note, selecting 'php8.2-common' instead of 'php8.2-pdo'
Note, selecting 'php8.2-common' instead of 'php8.2-phar'
Note, selecting 'php8.2-common' instead of 'php8.2-posix'
Note, selecting 'php8.2-common' instead of 'php8.2-shmop'
Note, selecting 'php8.2-common' instead of 'php8.2-sockets'
Note, selecting 'php8.2-common' instead of 'php8.2-sysvmsg'
Note, selecting 'php8.2-common' instead of 'php8.2-sysvsem'
Note, selecting 'php8.2-common' instead of 'php8.2-sysvshm'
Note, selecting 'php8.2-common' instead of 'php8.2-tokenizer'
Note, selecting 'php8.2-interbase' instead of 'php8.2-pdo-firebird'
Note, selecting 'php8.2-mysql' instead of 'php8.2-mysqli'
Note, selecting 'php8.2-mysql' instead of 'php8.2-mysqlnd'
Note, selecting 'php8.2-mysql' instead of 'php8.2-pdo-mysql'
Note, selecting 'php8.2-odbc' instead of 'php8.2-pdo-odbc'
Note, selecting 'php8.2-pgsql' instead of 'php8.2-pdo-pgsql'
Note, selecting 'php8.2-sqlite3' instead of 'php8.2-pdo-sqlite'
Note, selecting 'php8.2-sybase' instead of 'php8.2-pdo-dblib'
Note, selecting 'php8.2-xml' instead of 'php8.2-dom'
Note, selecting 'php8.2-xml' instead of 'php8.2-simplexml'
Note, selecting 'php8.2-xml' instead of 'php8.2-xmlreader'
Note, selecting 'php8.2-xml' instead of 'php8.2-xmlwriter'
php8.2-cli is already the newest version (8.2.28-1+ubuntu24.04.1+deb.sury.org+1).
php8.2-cli set to manually installed.
php8.2-common is already the newest version (8.2.28-1+ubuntu24.04.1+deb.sury.org+1).
php8.2-common set to manually installed.
php8.2-opcache is already the newest version (8.2.28-1+ubuntu24.04.1+deb.sury.org+1).
php8.2-opcache set to manually installed.
php8.2-xml is already the newest version (8.2.28-1+ubuntu24.04.1+deb.sury.org+1).
php8.2-readline is already the newest version (8.2.28-1+ubuntu24.04.1+deb.sury.org+1).
php8.2-readline set to manually installed.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 php8.2-apcu : Conflicts: php-yac
 php8.2-gmagick : Conflicts: php-imagick
                  Recommends: ttf-dejavu-core but it is not installable
 php8.2-yac : Conflicts: php-apcu
E: Unable to correct problems, you have held broken packages.
alexandre@ubuntu:~$ fka' for glob 'php8.3-*'
Note, selecting 'php8.3-ldap' for glob 'php8.3-*'
Note, selecting 'php8.3-pdo' for glob 'php8.3-*'
Note, selecting 'php8.3-psr' for glob 'php8.3-*'
Note, selecting 'php8.3-ds' for glob 'php8.3-*'
Note, selecting 'php8.3-rrd' for glob 'php8.3-*'
Note, selecting 'php8.3-gd' for glob 'php8.3-*'
Note, selecting 'php8.3-pq' for glob 'php8.3-*'
Note, selecting 'php8.3-ps' for glob 'php8.3-*'
Note, selecting 'php8.3-xmlrpc' for glob 'php8.3-*'
Note, selecting 'php8.3-amqp' for glob 'php8.3-*'
Note, selecting 'php8.3-common' instead of 'php8.3-calendar'
Note, selecting 'php8.3-common' instead of 'php8.3-ctype'
Note, selecting 'php8.3-common' instead of 'php8.3-exif'
Note, selecting 'php8.3-common' instead of 'php8.3-ffi'
Note, selecting 'php8.3-common' instead of 'php8.3-fileinfo'
Note, selecting 'php8.3-common' instead of 'php8.3-ftp'
Note, selecting 'php8.3-common' instead of 'php8.3-gettext'
Note, selecting 'php8.3-common' instead of 'php8.3-iconv'
Note, selecting 'php8.3-common' instead of 'php8.3-pdo'
Note, selecting 'php8.3-common' instead of 'php8.3-phar'
alexandre@ubuntu:~$  

regards

PHP Version

alexandre@ubuntu:$ php -v
PHP 8.2.28 (cli) (built: Mar 13 2025 18:13:49) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.28, Copyright (c) Zend Technologies
with Zend OPcache v8.2.28, Copyright (c), by Zend Technologies
alexandre@ubuntu:
$

Operating System

No response

@iluuu1994
Copy link
Member

Hi @aragon5956. Please ask for help on a dedicated forum like StackOverflow or Reddit. The PHP project is not responsible for the distribution of PHP binaries on Linux distributions. This is something distributions do themselves, and sometimes 3rd parties (e.g. Ondřej Surý). Installing all available extensions is also a bad idea. You should install the extensions you actually need.

@iluuu1994 iluuu1994 closed this as not planned Won't fix, can't repro, duplicate, stale May 3, 2025
@aragon5956
Copy link
Author

aragon5956 commented May 3, 2025

I deleted /etc/apt/sourceslist.d/onjdr.. , to remove conflicts ,then sudo apt update -y , sudo apt upgrade -y , then sudo apt purge php8.2
Then ,sudo apt install php8.2-*, but i didn't try for php8.3

@aragon5956
Copy link
Author

aragon5956 commented May 3, 2025

no i've wrong !! it doesn't work , I do not have all extensions in the end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants