Title: Error_log filled with PHP warnings
Last modified: March 7, 2019

---

# Error_log filled with PHP warnings

 *  Resolved [conradish](https://wordpress.org/support/users/conradish/)
 * (@conradish)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/error_log-filled-with-php-warnings/)
 * 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?
 * I’m 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?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * (@stanleylitespeed)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/error_log-filled-with-php-warnings/#post-11285412)
 * Hi [@conradish](https://wordpress.org/support/users/conradish/), our plugin need
   to use PHP’s `parse_ini_file` function. Please contact your hosting service provider
   to whitelist it.
 *  Thread Starter [conradish](https://wordpress.org/support/users/conradish/)
 * (@conradish)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/error_log-filled-with-php-warnings/#post-11286313)
 * Hi Stanley,
 * Thanks for reply. I’ve done a bit more digging, and it doesn’t 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
 *  [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * (@stanleylitespeed)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/error_log-filled-with-php-warnings/#post-11286373)
 * Can you try to create a single `.php` file to test is this function working on
   your vps, here’s some instructions:
 * [https://www.w3schools.com/php/func_filesystem_parse_ini_file.asp](https://www.w3schools.com/php/func_filesystem_parse_ini_file.asp)
   
   [http://php.net/manual/en/function.parse-ini-file.php](http://php.net/manual/en/function.parse-ini-file.php)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error_log filled with PHP warnings’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/error_log-filled-with-php-warnings/#post-11286373)
 * Status: resolved