PHPexcel in server

Mar 13, 2009 at 2:21 PM

I install PHPexcel in my server and i want to know if i have to install Excel too?
(My code is the same on local and it work)
Mar 13, 2009 at 2:33 PM
No, these classes do not require MS Office Excel.

Mar 13, 2009 at 2:59 PM
Thanks for response,

So I have a problem when i load my file .xls but i don't know why.

My code:
    set_include_path(get_include_path() . PATH_SEPARATOR . CH_EXCEL);
    include 'PHPExcel.php';
    include 'PHPExcel/IOFactory.php';
    $objReader = PHPExcel_IOFactory::createReader('Excel5');
    $objPHPExcel = $objReader->load(CH_EXPORTXLS."exemple.xls");

From here, when i want to see in my var $objPHPExcel,  i have nothing.
Any suggestion?
Mar 13, 2009 at 3:54 PM
I found the solution.
My problem was the memory.
In default, i had the memory_limit of apache at 16M.
So, I add this code to my script:


Good Luck