Skip to main content

server using cloudlinux, how to turn off expose_php ?

Comments

5 comments

  • cPanelMichael
    Hello :) Are you using the PHP Selector option with Cloud Linux? Thank you.
    0
  • basketmen
    Hello :) Are you using the PHP Selector option with Cloud Linux? Thank you.

    yes, i cant find expose_php in cpanel > Select PHP Version > Switch To PHP Settings where is it actually?
    0
  • cPanelMichael
    Hello :) Please review the following document and let us know if it helps answer this question: PHP Selector > Custom PHP.ini options Thank you.
    0
  • basketmen
    Hello :) Please review the following document and let us know if it helps answer this question: PHP Selector > Custom PHP.ini options Thank you.

    it is Switch To PHP Settings / Options Selector page that i told in post #3 above there is no expose_php setting there ]http://docs.cloudlinux.com/phpselector_options.png
    where the heck is the setting to disable expose_php :D
    0
  • cPanelMichael
    Here's a snippet from the document referenced in my last response that should help answer this question: Default values, that are shown in PHP-Selector web interface, are taken from '/opt/alt/phpXX/usr/bin/php -i' runtime values, if directive is not there, it will use 'default' value that was set in php.conf . So, if you wish to change default value of any option for "alternative" php version, please modify /opt/alt/phpXX/etc/php.ini files (where XX = 55, 54, 53, etc according to php version).
    Thank you.
    0

Please sign in to leave a comment.