Problem migrating web server

Topics: Developer Forum
Feb 11, 2014 at 4:27 PM
Moving my site from server.
Old configuration, WS2003 IIS - PHP 5.2.10 - PHPExcel 1.7.6
New configuration WS2008 IIS 7.5 - PHP 5.2.10 - PHPExcel 1.7.6

All works fine except PHP Excel.
I receive
Fatal error: Class 'PHPExcel_Worksheet_PageSetup' not found in C:\web\phpxl\Classes\PHPExcel\Worksheet.php on line 337

File exists, class exists, permisions granted. I have both sites online, one is replica from the other only change was the ip to connect database.
Here an example I reduce to minimum code, just loading a template and saving in other dir.
php excel is in "phpxl" folder
<?
require_once '../phpxl/Classes/PHPExcel.php';
$template = "xlpreliminar.xls";
// Create new PHPExcel object
$objReader = PHPExcel_IOFactory::createReader('Excel5');
$objPHPExcel = $objReader->load("templates/".$template);
PHPExcel_Shared_Font::setAutoSizeMethod(PHPExcel_Shared_Font::AUTOSIZE_METHOD_EXACT);

$dir = './relatorios';
//$dir = $dir."/".$mes."-".$ano;
list($dia,$mes,$ano,$hora,$min,$sec) = explode("/",date('d/m/y/h/i/s'));
$nombre = $grupo.'_'.$ano.'_'.$sec;



if (!file_exists($dir)){
mkdir($dir,0777);

}

//save the file

$fname = $nombre.'.xls';

$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');
$objWriter->save('./relatorios/'.$fname);
echo "/relatorios/".$fname;
?>
Any idea where to look?