Knowledgebase

How do I set expose_php to Off?

The expose_php setting reveals that PHP is installed on the server, which includes the PHP version within the HTTP header (e.g., X-Powered-By: PHP/7.3.13). The default PHP value is for this setting to be on and by default we use all reasonable PHP default settings for maximum compatibility. You can however set expose_php to off by doing the following:

  1. Login to your cPanel for your account.

  2. Use the top search to locate the "Select PHP Version" in your cPanel:

  3. Once on this page you'll select the "Options" menu button which will bring you to the majority of the PHP settings we allow you to override

  4. On the expose_php setting change it from being checked to unchecked and this will turn set expose_php to off
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Available Node.js Versions

We recommended all Node.js applications are created using our Setup Node.js Application...

Available Python Versions

We recommended all Python applications are created using our Setup Python Application interface....

Available Ruby Versions

We recommended all Ruby applications are created using our Setup Ruby Application interface. If...

Default permissions on folders and PHP files.

We currently run Litespeed Web Server which runs PHP as the user so files and folders should...

Do you support Ruby on Rails?

Yes we support Ruby On Rails and you can install and utilize many different versions of Ruby and...