PDA

View Full Version : Unable to install php5.6-fpm on Ubuntu 16.04



kumar3314
August 23rd, 2021, 04:40 PM
Hello All,

We are trying to install php5.6-fpm on Ubuntu 16.04 server but we unable to install. We are following the below steps to install.

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update

sudo apt-get install -y php5.6

Error while installing:-
$apt-get install php5.6-fpm
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php5.6-fpm
E: Couldn't find any package by glob 'php5.6-fpm'
E: Couldn't find any package by regex 'php5.6-fpm'

Can someone help me with the possible solution to install php 5.6-fpm

Frogs Hair
August 23rd, 2021, 06:10 PM
16.04 reached end of life in April unless you have Extend Maintenance Security. That may explain why the package is not found.
https://ubuntu.com/security/esm

kumar3314
August 23rd, 2021, 06:35 PM
Hello Frogs,

Thanks for the update. We are using Ubuntu 16.04 in Azure from Canonical publisher which comes with Extended Maintenance Security. Is there anything to be done to get php5.6-fpm to be installed.

Frogs Hair
August 23rd, 2021, 09:11 PM
Hello Frogs,

Thanks for the update. We are using Ubuntu 16.04 in Azure from Canonical publisher which comes with Extended Maintenance Security. Is there anything to be done to get php5.6-fpm to be installed.

I can't tell you tell you what package repositories other than security are available with EMS. The Ubuntu old repositories are available, but mainly for distribution upgrade purposes.

slickymaster
August 24th, 2021, 02:41 PM
Thread moved to Server Platforms.

MAFoElffen
August 25th, 2021, 02:32 AM
LOL

You need to add this PPA . He does have a note about end-of release Ubuntu, but worth a try. He is the main maintainer for the PHP packages...

sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php5.6-fpm

Enjoy...