SOLVED Virgin Install of RC14v3(svn5974) pulling wrong PhP
-
Server
- FOG Version: RC14v3(svn5974)
- OS: CentOS 7.2.1511
Client
- Service Version: n/a
- OS: n/a
Description
First-time installing at the command to:
You still need to install/update your database schema. * This can be done by opening a web browser a nd going to: http://172.19.244.32/fog/management * Press [Enter] key when database is updated/installed.
Visiting the web page elicits:
FOG Requires PHP v5.5.0 or higher. You have PHP v5.4.45
PhP was installed by the FOG installer itself.
-
@Wayne-Workman What do you mean intermittent?
-
Well, it appears to be intermittent.
-
@Tom-Elliott This isn’t solved yet. CentOS 7 still does not install correctly with working-RC-15 version 51.
-
@Wayne-Workman yes I’m sure.
-
@Tom-Elliott Are you sure? Last night I didn’t have success with my CentOS 7 tests.
-
Found and more appropriately addressed. Thanks @Wayne-Workman for taking a bit of the lead. I found a few more issues with how it was being handled and am fairly sure this is now properly fixed. Thanks @sudburr for reporting. Mind you, I’m also not seeing the double entry in the fogsettings file though.
-
@sudburr I found it, this fixes it:
https://github.com/FOGProject/fogproject/pull/138/filesSo I’m sure RC-15 will be solid again for CentOS 7.
-
@sudburr said in Virgin Install of RC14v3(svn5974) pulling wrong PhP:
It’s interesting to note that pre-installing PhP 7.x causes the installer to fail.
I didn’t realize that. I will try to dig into the installer tonight.
-
Thank you.
So for now, a workaround must be employed post-installation to make up for the FOG installer until it is updated to fetch and install the proper PhP repositories for CentOS 7.2.1511.
Can we expect this in RC15?
It’s interesting to note that pre-installing PhP 7.x causes the installer to fail.
This reminds me of some testing awhile ago with an earlier version of FOG where even though PhP 7.x was already installed, the FOG installer forced the installation of 5.4 or whatever.
-
-
Upgrading to PhP 7.x after installation of FOG, then rebooting
rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm yum-config-manager --enable remi-php70 php -v yum clean all yum makecache yum update -y reboot
… then revisiting the web page appears to fix it.