Im trying to implement Converting single sheet in an XLS file to CSV with PHPExcel - Memory exhausted but got stuck in the PHP Excel loading process.
I downloaded the pack (http://phpexcel.codeplex.com/) and, following the install instructions, copied the folder 'Classes' to three directories:
1) C:\xampp\htdocs\mycode - just my current working directory
2) C:\xampp\php\pear - bcs its what i get when I echo get_include_path();
and
3) C:\xampp\php\pear\PEAR - you know, just in case...
still when I run:
include 'PHPExcel.php';
include 'PHPExcel/IOFactory.php';
I get the following error messages:
Warning: include(PHPExcel.php): failed to open stream: No such file or directory in C:\xampp\htdocs\mycode\paths.php on line 5
Warning: include(): Failed opening 'PHPExcel.php' for inclusion (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\mycode\paths.php on line 5
Warning: include(PHPExcel/IOFactory.php): failed to open stream: No such file or directory in C:\xampp\htdocs\mycode\paths.php on line 6
Warning: include(): Failed opening 'PHPExcel/IOFactory.php' for inclusion (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\mycode\paths.php on line 6
tks in advance...
C:\xampp\php\pear
? How do I make sure? – user2491612local machine
. See what Phil posted below. Also make sure that the folder(s) names are correctly spelled, letter-case is important.classes
is not the same asClasses
on some servers (Unix & Windows are 2 different animals altogether) – Funk Forty Niner