The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PHP Functions Disabled...But Not Really

Discussion in 'General Discussion' started by markb14391, Apr 23, 2012.

  1. markb14391

    markb14391 Well-Known Member

    Jun 9, 2008
    Likes Received:
    Trophy Points:

    We have a mystery. Several functions in WHMCS and other apps aren't working. Troubleshooting identified the problem:

    fsockopen() has been disabled for security reasons

    However, this function is not disabled in our PHP settings! In WHM's advanced PHP configuration editor, that function is not part of the disabled list.

    But, in phpinfo, that function does show up in the list of disabled functions (along with fsockopen). We checked the php.ini file, and the function is not disabled there. (The list of disabled functions in php.ini exactly matches the list in the WHM PHP configuration interface, as expected.)

    What could be causing these functions to be disabled, even though they aren't disabled in our config? And how can we turn them back on?



Share This Page