FOG Install PHP Failed
-
Hi there
Haven’t isntalled or used FOG for a while so forgive me if I am doing something wrong here…Attempting to install FOG Server on Ubuntu Server 22.04 LTS (have tried on Debian and CentOS too - same issue) and receiving a ‘PHP Failed to Install Properly’ error (see below).
First I received an error because ‘php-gettext’ package could not be found but bypassed that by using the -X argument.
Any advice or guidance would be greatly appreciated.
Thank you!Drew
-
@drewgau There may be some sort of package or repo pre-requiste you’re missing. It also says it failed to stop the web service in your screenshot, did apache/httpd not get installed either. Is apt-get/yum working to install normal packages?
-
@drewgau Also, fog isn’t supported on Ubuntu 22.04 because of a PHP 8 incompatibility. So for Ubunutu, 20.04 is the latest supported version.
-
@jj-fullmer Thanks for your reply mate.
The first question I am asked is to uninstall apache and php (error is the same if I press Y or N).
It looks as though apache installs but there is an issue installing PHP because the php7.1 package does not exist.
I have attached the full output. Thanks so much for your help!DrewFOGInstall.txt
-
@jj-fullmer apt-get is working for other packages.
I’ve tried on Ubuntu 16.04.7 and it has the same issue. Also CentOS. -
This post is deleted! -
Hi there
I created a fresh VM with Ubuntu 20.04 and was able to get FOG up and running. Thanks for all your help!