Wordpress LScache Plugin: Error_log filled with PHP warnings
Last Updated on: Wed, 15 Apr 2026 00:00:02 Receiving larger multiples of this warning: [07-Mar-2019 06:14:32 UTC] PHP Warning: parse_ini_file() has been disabled for security reasons in /home/xxxxxxxx/public_html/xxxx/wp-content/plugins/litespeed-cache/inc/const.cls.php on line 288 Is this a known issue, or purely related to my host set up? Im on a litespeed server and the wordpress installation is recognized in the litespeed cpanel section. Perhaps there is a setting within the plugin I need to tweak? Hi @conradish, our plugin need to use PHPs parse_ini_file function. Please contact your hosting service provider to whitelist it. Hi Stanley, Thanks for reply. Ive done a bit more digging, and it doesnt seem like it is a whitelisting issue, as another site on same server works fine with the litespeed plugin, and with the same settings, They are on different versions of wordpress though, and many differences in plugins/themes. will carry on looking at the issue Can you try to create a single .php file to test is this function working on your vps, heres some instructions: https://www.w3schools.com/php/func_filesystem_parse_ini_file.asp http://php.net/manual/en/function.parse-ini-file.php
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference