1. Open PHP Settings Menu
There are 2 ways to access PHP Settings in DirectAdmin:- Method 1: Under the Account Manager menu, click the PHP Settings icon.
- Method 2: On your dashboard in the Your Account widget, click the pencil icon (✏️ PHP 8.1) next to the PHP Version field.

Select PHP Settings under Account Manager
2. Select Desired PHP Version
- In the PHP Version dropdown selector, choose the PHP version required by your application (e.g.
PHP 8.1,PHP 8.2,PHP 8.3, etc.). - Click the blue UPDATE VERSION button.

Select PHP version and click Update Version
3. Configure Additional Overrides (Optional)
If your website requires specific PHP directives:- display_errors: Switch to
Onfor development/debugging, orOfffor production environments. - memory_limit / max_execution_time: Add custom overrides as needed.
- Click Add to save your new configuration override.
