The Apache Handlers interface associates a file extension with an existing Apache handler. It changes how Apache processes that file type; it does not install a new scripting language or handler.

Add a handler mapping

  1. Log in to cPanel and open Advanced > Apache Handlers.
  2. Enter the existing handler name supplied by your application or administrator.
  3. Enter the extension or extensions in the format requested by the interface.
  4. Click Add.
  5. Test the intended file through the website.

add

Use only a handler supported by the server. Mapping an extension to a script handler can make files executable, so check the intended scope and avoid applying it to uploaded or untrusted files.

Remove a custom mapping

Find the mapping under the user-defined handlers and choose Delete. Test the website afterwards. System handlers and PHP-version selection are managed separately and may require the administrator or MultiPHP tools.