/opt/cpanel/ea-php74/root/etc/php.d/ssp.ini
It took me several hours to find that this file is disabling PHP functions, I couldn't even do a phpinfo()! What is it and what controls it?
This is its contents:
display_errors = Off
expose_php = Off
enable_dl = Off
disable_functions = show_source,system,shell_exec,passthru,exec,phpinfo,popen,proc_open,allow_url_fopen,ini_set
Any clues? Thank you!
-
Hey there! This file isn't present in a default cPanel installation, so I can't say for sure what may have created it. Can you run this command to see if it is linked to any particular software package? rpm -qf /opt/cpanel/ea-php74/root/etc/php.d/ssp.ini0 -
"Not owned by any package", well, maybe it was an overzealous hosting company admin, this is a server filled with wordpress sites (cringe) 0 -
Thanks for checking that out. I'm honestly not sure since it doesn't show up in the packages we distribute by default, so I really can't say where it may have come from. It might be a good idea to reach out to the hosting provider to see if that is something they add to their servers. 0
Please sign in to leave a comment.
Comments
3 comments