I'm trying to manually install PhpPowerpoint (not using composer)
I've WAMP installation having document_root D:\wamp\www\
i've copied the PhpPowerpoint folder under the following path D:\wamp\www\php\PhpOffice\
using the manual installation code (the code is in a file D:\wamp\www\php\agile\expMSPowerpoint.php):
require_once '../PhpOffice/PhpPowerpoint/Autoloader.php';
PhpOffice\PhpPowerpoint\Autoloader::register();
$objPHPPowerPoint = new PhpPowerpoint(); <<<< Error in this line
i get the error:
Fatal error: Class 'PhpPowerpoint' not found in D:\wamp\www\php\agile\expMSPowerpoint.php on line 435
Any help to get it installed would be much appreciated
I suggest using the PHP
realpath
http://php.net/manual/en/function.realpath.phpFrom the manual page: