Apache handlers tell the web server how to process certain file types — for example running .php files through the PHP engine.
Add or edit a handler
- Go to Advanced Features → Apache Handlers.
- Select the domain.
- View existing handlers or click Add Handler.
- Enter the handler name and file extension (for example handler
application/x-httpd-php82for extension.php). - Save the handler.
When you need this
Most sites work with default handlers. Custom handlers are useful for legacy scripts, CGI files, or non-standard extensions. Incorrect handlers can cause downloads instead of execution — revert changes if your site stops working.