Support » Plugins » [Plugin: W3 Total Cache] disable_functions = ini_set directive?

  • Trying to keep the server secure I have a PHP directive “disable_functions = ini_set”. Apparently this breaks W3TC as I now see “Warning: ini_set() has been disabled for security reasons in /home/virtualx/public_html/wp-content/plugins/w3-total-cache/inc/define.php on line 57” and “Warning: ini_set() has been disabled for security reasons in /home/virtualx/public_html/wp-content/plugins/w3-total-cache/inc/define.php on line 58” in my theme. I have just started running WordPress v3.0 beta 2 so I am not jumping to conclusions. Is there a way round this?

    http://wordpress.org/extend/plugins/w3-total-cache/

Viewing 5 replies - 1 through 5 (of 5 total)
  • No there’s not. ini_set is used quite a bit in many applications. I realize your reasons for wanting to disable the function, but it’s used only to overcome some proven common configuration issues. In any case, you can ignore warnings so long as things work as you intend.

    Shame. But I am also wondering now if taking care of several other ‘security’ issues has also caused other problems with W3TC – for instance, ‘local’ CDA now doesn’t seem to work as FTP no longer tests green and neither does Memcache. Like I said, I am working with WP3b2 and trying not to jump to conclusions, but…

    I have been running W3TC against WP3 nightly releases for some time, so it’s hard to guess what has gone wrong if your PHP configuration is not stock.

    What does a “stock” php configuration look like Frederick?

    Whatever is included with your OS distribution.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: W3 Total Cache] disable_functions = ini_set directive?’ is closed to new replies.