OpenCReports comes with a PHP module, which must be enabled in the PHP configuration:
extension=opencreports.so