include "autoload.php";
use \PHPOffice\Phpword\Phpword;
$phpword = new PhpWord();
this is giving error on hostinger
unable to handle request, the page is not loading.
autoload.php file is:
<?php
function loadlibraries($class){
$path=__DIR__."/lib/";
require_once $path.$class.".php";
}
spl_autoload_register("loadlibraries");
?>