Thanks a lot for your help.
I fixed the case sensitive issue, but now I have another issue:
here is my code (SalesByCustomer.php) as copied from example code:
<?php
require_once "koolreport/autoload.php";
use \koolreport\processes\Group;
use \koolreport\processes\Sort;
use \koolreport\processes\Limit;
class SalesByCustomer extends \koolreport\KoolReport
{
.........................
but still not found the class:
[Sun Jan 20 18:20:33.219734 2019] [:error] [pid 29101] [client 127.0.0.1:32926] PHP Fatal error: Class 'koolreport\\KoolReport' not found in /var/www/html/my_koolreport/SalesByCustomer.php on line 7, referer: http://localhost/
for some reason a second backslash is added.
KoolReport class although existed in /var/www/html/my_koolreport/koolreport/src/KoolReport.php so maybe due to the second backslash, the code cannot find it.