This was done on debian lenny 32bit
Add this lines in your /etc/apt/sources.list
Quote:deb http://php53.dotdeb.org stable all
deb-src http://php53.dotdeb.org stable all
Issue command:
Quote:# apt-get update
Update php to 5.3.2
Quote:# apt-get install php5
It works for me... so far!
Will get back if problems appear.
Update:
It seems that after logout... I couldnt log in due to error in idn_to_ascii() built in function. I checked the manual regarding this function and seems that the second parameter is optional, so i removed it
here is the encode_idna() from ispcp-functions.php that worked for me.
Code:
function encode_idna($input) {
if (function_exists('idn_to_ascii')) {
//return idn_to_ascii($input, 'utf-8');
return idn_to_ascii($input);
}
$IDN = new idna_convert();
$output = $IDN->encode($input);
return $output;
}
Next thing is that the date() throws errors due to default time zone not being set. I decide to set that in the php.ini so it will be applied globally over the whole ispcp gui
Uncomment date.timezone and put your timezone in /var/www/fcgi/master/php5/php.ini
Code:
date.timezone = "America/New_York"
next error
Quote:Deprecated: Function split() is deprecated in /var/www/ispcp/gui/include/phpsysinfo/common_functions.php on line 169
Deprecated: Function split() is deprecated in /var/www/ispcp/gui/include/phpsysinfo/class.Linux.inc.php on line 116
fix it by replacing the deprecated function split() with explode()
Thats so far... if I see something else will post back