PHP on FileMaker Server 2024?

I have posted the following in the community website, but just in case anyone has any ideas about whether this is possible, here it is again:

Has anyone attempted to use PHP with FileMaker Server 21.0.2.53?

We've been using the setup recommended after PHP deprecation at Claris Community (English) which has worked fine from FileMaker Server v19 through to v20.3.2. However, after upgrading to the latest version on our Windows 2022 Server this has now failed.

We're getting errors that include:

"Communication Error: (77) error setting certificate verify locations:\n CAfile: C:\Program Files\FileMaker\FileMaker Server\CStore\root.pem\n CApath: none
(we are running a wildcard SSL certificate)

And PHP -v returns:
PHP Warning: Module 'curl' already loaded in Unknown on line 0
PHP 7.4.9 (cli) (built: Aug 4 2020 11:51:50) ( NTS Visual C++ 2017 x64 )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies

We've checked for multiple php.ini files and only 1 is loaded and can find only 1 curl extension loaded.

We appreciate the PHP needs to be replaced by the DAPI, and are going to revert to FM Server 2023 for now.

Any help or assistance would be appreciated.

Thanks
Andy

I‘d assume curl is built-in to your php library already and you can comment out the line in the php.ini file.

Hi Christian

Thanks. I did consider this, but as the only change was going from v20 to v21 server I couldn’t see how it would require the change. Disabling this has resolved the PHP warning, but not solved the problem, which appears to be related to the SSL certificate.

By the way, the link above was incorrect, it should have been the PHP no longer bundled with FileMaker Server.

https://support.claris.com/s/article/PHP-no-longer-bundled-with-FileMaker-Server

This is nothing to do with Claris Connect.

We’re going to revert to v2023 and have the PHP replaced with the DAPI, which is the longer term goal to simplify management of this particular server.