Im trying to run a project that uses phppowerpoint on a linux server. Its working ok on windows. But when I put my project online, the same way it is on my wamp server, its doesnt work. It seems like its having problems with case sensitive. The thing is that I didnt change any of the original files of this library. Im calling the names of the files right, but everytime I run it, it gives me problems with requires, includes, paths, etc.. Do I need to change something to make it work on a linux server? This the first error that it shows:
Fatal error: require_once(): Failed opening required 'PHPPowerPoint/Slide.php' (include_path='.:/usr/share/php:/usr/share/pear') in /storage/.../phppowerpoint/PHPPowerpoint.php on line 30
I think that the problem is with this line
set_include_path(get_include_path() . PATH_SEPARATOR . 'Classes/');
The way this set_include_path
is, it wont work on a linux server?