Today I try to use zstd mod to compress then encode my data, it’s good for anti fraud and ddos. I uploaded a phpinfo() to get hosting support that module or not but all data I got is
Your server uses PHP version 8.2.21
Your website url is www.matilda.vn
Your document root is /home///******/htdocs
PHP memory_limit is 512M
PHP max_file_size is 20MB
PHP max_execution_time is 60 seconds
So…can I use PHP zstd module ? It’s avaiable on InfinityFree ?
A quick Google search tells me that zstd is not an official PHP extension, so you can safely assume it’s not installed here.
Also, if you want to compress all data sent from the website to the user, you wouldn’t do that with a PHP extension. After all, static files like CSS, JS and images benefit most from compression, but those are not touched by PHP code. Compression is done by the web server to all data transmitted.
In that regard, our servers do compress output with Gzip. Brotli, zstd and other new, exotic compression methods are not enabled, we generally stick to the tried and tested methods. And no, this is not configurable.