View Single Post
  #2  
Old 2nd April 2009, 09:37
fhawk fhawk is offline
Member
 
Join Date: Mar 2009
Posts: 39
Thanks: 2
Thanked 11 Times in 9 Posts
Default

Quote:
Originally Posted by bongo View Post
Hello Till,

I am just playing around a bit with centos 5.3.

there is an update for centos 5.3 available to install ispconfig 3
or a small fix to set it up?

i get an error because of the centos version.

thank you,
Bongo
edit ispconfig3_install/install/lib/install.lib.php
find this:
Quote:
if(stristr($content,'CentOS release 5.2 (Final)')) {
$distname = 'CentOS';
$distver = '5.2';
$distid = 'centos52';
$distbaseid = 'fedora';
swriteln("Operating System: CentOS 5.2 or compatible\n");
}
change to:
Quote:
if(stristr($content,'CentOS release 5.3 (Final)')) {
$distname = 'CentOS';
$distver = '5.3';
$distid = 'centos53';
$distbaseid = 'fedora';
swriteln("Operating System: CentOS 5.3 or compatible\n");
}
And then rename
ispconfig3_install/install/dist/conf/centos52.conf.php
to
ispconfig3_install/install/dist/conf/centos53.conf.php


renname
ispconfig3_install/install/dist/lib/centos52.lib.php
to
ispconfig3_install/install/dist/lib/centos53.lib.php

Now you can install it!!!
Reply With Quote