we got a new WebServer with CentOS, Plesk and php-fpm. Now we don't get the php extension running.
What we did:
- installed latest SQL Anywhere 17 (ebf29577)
- copied php-7.3.0_sqlanywhere_r.so to /opt/plesk/php/7.3/lib64/php/modules/
- loading php-7.3.0_sqlanywhere_r.so via /opt/plesk/php/7.3/etc/php.d/sqlanywhere.ini
- this leads to an error: WARNING: [pool plesk-php73-fpm.plesk-service.localdomain] child 11616 said into stderr: "NOTICE: PHP message: PHP Warning: request_startup() for sqlanywhere module failed in Unknown on line 0" (This leads to php 7.3 fpm is not loading at all)
- next try was to switch from FPM to CGI: same error
- module is loadable itself within shell if LD_LIBRARY_PATH was enhanced with path /opt/sqlanywhere17/lib64/
- some tries getting the cause by strace did not help
Has anybody an idea or maybe even successfully installed php extension.
Thanks Florian