#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)

slow eagle
#
  • /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.
hazy mango
#

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)

slow eagle
#

i have tried to install curl 8.2

#

it did not work

heady wing
slow eagle
#

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

hazy mango
#

what have you tried?

#

sudo apt update && sudo apt install php8.2-curl?

slow eagle
#

it did not work

slow eagle
#

i am trying to install sudo apt install php8.2-curl on my production server it is not working

rare rune
# slow eagle

Usually php-curl is built-in, I never installed that extension, but I always had it.

heady wing
#

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.