- /etc/php/8.2/cli/conf.d/20-tokenizer.ini
- /etc/php/8.2/cli/conf.d/20-xmlreader.ini
- /etc/php/8.2/cli/conf.d/20-xmlwriter.ini
- /etc/php/8.2/cli/conf.d/20-xsl.ini
- /etc/php/8.2/cli/conf.d/20-zip.ini
You can also run php --ini in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with --ignore-platform-req=ext-curl to temporarily ignore these required extensions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require pusher/pusher-php-server:*" to figure out if any version is installable, or "composer require pusher/pusher-php-server:^2.1" if you know which you need.
#i am trying to install sudo apt install php8.2-curl on my production server it is not working
16 messages · Page 1 of 1 (latest)
you are missing the required extension(s), you should able find ton of solutions online
just googling how to install php extension curl at your server(linux/window/etc)
Can you please give us some context. What environment ? What are you using ?
https://discord.com/channels/297040613688475649/1270372863412801587
https://stackoverflow.com/help/how-to-ask
how do i install sudo apt install php8.2-curl
on Distributor ID: Ubuntu
Description: Ubuntu 22.04.4 LTS
Release: 22.04
Codename: jammy server using php 8.2
i am trying to install sudo apt install php8.2-curl on my production server it is not working
Usually php-curl is built-in, I never installed that extension, but I always had it.
If you try apt install php-curl, which version is installed ?
Before I moved to docker, I couldn't install recent versions of php unless I upgraded to ubuntu 24.04 which has php 8.3 natively.
If you don't want to compile the extensions by hand, you can follow this doc: https://wiki.crowncloud.net/?How_to_install_php_8_2_on_Ubuntu_22_04#:~:text=PHP is a script language,Ubuntu 22.04 installed and running.