Welcome to the Linux Foundation Forum!

Installation PHP7.3 on Ubuntu failed

iomi
iomi Posts: 1
edited June 8 in Web Management

Hello,

I try to install PHP7.3 in a VM Ubuntu Server and it's not possible. I tried the following:

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install -y php7.3

and I get:

The following packages have unmet dependencies.
php7.3 : Depends: libapache2-mod-php7.3 but it is not going to be installed or
php7.3-fpm but it is not going to be installed or
php7.3-cgi but it is not going to be installed
Depends: php7.3-common but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I tried in two different server and always get the same. When I install another package, for example zip, it's installed without any problem.

Thanks!!

Categories

Upcoming Training