WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: W3 Total Cache] disable_functions = ini_set directive? (6 posts)

  1. Terence
    Member
    Posted 3 years ago #

    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/

  2. Frederick Townes
    Member
    Posted 3 years ago #

    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.

  3. Terence
    Member
    Posted 3 years ago #

    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...

  4. Frederick Townes
    Member
    Posted 3 years ago #

    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.

  5. Terence
    Member
    Posted 3 years ago #

    What does a "stock" php configuration look like Frederick?

  6. Frederick Townes
    Member
    Posted 3 years ago #

    Whatever is included with your OS distribution.

Topic Closed

This topic has been closed to new replies.

About this Topic