Installation error on Centos 5.7
-
I am following (correctly, I hope) the instructions for Centos 5.3 to install Fog 0.32. The installation script fails with the error “php-gettext . . .Failed!” It seems I have PHP installed. Can anyone offer advice or things to check?
Thanks,
A new user to Fog -
In the fog_0.32/lib/redhat Fog install folder, edit the config.sh file and remove the php-gettext from the package list. Remeber to edit the clamav package and a few other pieces outlined the CentOS install guide. Also, PHP 5.2.1+ is needed for Fog .32. CentOS comes with verson 5.1 you should unistall this version, and edit the same config script and change any PHP in the package list to PHP53
-
The PHP upgrade for CentOS is brutal. I have no idea why they have not upgraded to 5.3, or even 5.2.
Please see the comments on CentOS 5.6 (at the bottom) on how to manually upgrade PHP to 5.3
[url]http://fogproject.org/wiki/index.php?title=Installation_on_CentOS_5.3[/url]If this is your first FOG server, i [I]really[/I] recommend Ubuntu. APT’s package management is far superior to YUM’s.
The package maintainers for APT packages are standards nazis; they adhere to a very strict set of standards.Checking the packages for PHP5 from Ubuntu/Debian shows 5.3.8 is the latest version.
[code]fog-2:~# apt-cache policy php5
php5:
Installed: 5.2.6.dfsg.1-1+lenny4
Candidate: 5.3.8.0-1
Version table:
5.3.8.0-1 0
500 http://ftp.iinet.net.au testing/main Packages
5.2.6.dfsg.1-1+lenny13 0
500 http://security.debian.org lenny/updates/main Packages
*** 5.2.6.dfsg.1-1+lenny4 0
100 /var/lib/dpkg/status
[/code]