Included library gives fatal error

The form I am working on functions fine in my dev environment of php 7.2 and mysql 5.7.23 script case 9.4.006

however when I use it on my production server (php 7.0 and mysql 5.7.27) I get this error

Fatal error: require_once(): Failed opening required ‘…/_lib/libraries/sys/PHPmailer5/PHPmailer/class.phpmailer.php’ (include_path=’.:/opt/cpanel/ea-php70/root/usr/share/pear’) in /home/mysite/public_html/zz-livetest/newTicket/newTicket_apl.php on line 5793

(I verified that the class.php.mailer.php is executable on the live server)

any help pointing me in the resolution direction would be appreciated.

what I have needed to do for this is copy the class.phpmailer.php to the directory of the form I called this from and manually go into the code and comment out the SC_include lines and put this in its place
require_once DIR.’/class.phpmailer.php’;

After doing this the form works great. Obviously it is having a hard time finding the location of this library but I am not sure why since the path in the error is correct.