> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://helpdesk.gbnetwork.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Tweak PHP-FPM cPanel

To enhance performance and achieve better resource management on your server, this guide explains how to modify PHP-FPM settings through SSH in a cPanel environment. It covers adjusting parameters such as the process manager mode, process limits, request handling, and more followed by rebuilding the PHP-FPM configuration to ensure all changes are applied correctly.

|| Open and locate your site's PHP-FPM YAML file in the SSH console. Find the file location as below and open it up:


```
nano /var/cpanel/userdata/username/domain.tld.php-fpm.yaml
```

Then, you can try this command :

![](https://storage.crisp.chat/users/helpdesk/website/67938060e89a4400/commandtweak_1wo6hfz.png)

```---
_is_present: 1
pm: static
pm_start_servers: 20
pm_max_children: 20
pm_max_requests: 100
php_admin_value_disable_functions : passthru,system
php_flag[display_errors]: off
php_flag[display_startup_errors]: off
```

|| Finally, restart the PHP-FPM processes:

`/scripts/php_fpm_config --rebuild`

| You have successfully tweak PHP-FPM cPanel.

---

### Need Further Assistance?

If you face any issues or need assistance, don’t hesitate to reach out — **our support team is always ready to help!**

🔧 **Need help?** [**Submit a Support Ticket**](https://secure.gbnetwork.com/submitticket.php)  
💬 **Chat with us on Live Chat via our** [**website**](https://www.gbnetwork.my/)