Is YAML supported?

Does the PHP installed on InfinityFree servers have YAML support? Thanks.

I believe so, give it a shot!

I don’t think so.
There is no reference about any YAML module in the phpinfo() file.

try using JSON

Looks like YAML isn’t supported. Thanks for your response.

Fatal error : Uncaught Error: Call to undefined function yaml_parse() in …

1 Like

The PECL YAML module is not installed on our servers. But there are plenty of pure PHP implementations to parse YAML which you could use instead, such as the Symfony YAML Component, which do not require anything special to be installed on the server.

2 Likes

How to install it without Composer?

This site makes Composer packages installable without Composer:

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.