Kadir Ülger
Verified User
Hello to everyone. As I mentioned in the title, I need the api to restart the php-fpm73 service.
I want this for this reason; When there is heavy visitor traffic, php-fpm73 crashes and does not run any php files. However, when I enter the DA panel at the administrator level and restart this service from the Services, it is fixed. It's always hard to check this and log into the panel and reboot.
If I can do this with the api I can press a button and restart when there is a problem. I can even check with the scheduled task and auto-restart when there is a problem.
I had done user-level Api operations before, but I couldn't find what I wanted in the admin-level api document.
I want this for this reason; When there is heavy visitor traffic, php-fpm73 crashes and does not run any php files. However, when I enter the DA panel at the administrator level and restart this service from the Services, it is fixed. It's always hard to check this and log into the panel and reboot.
If I can do this with the api I can press a button and restart when there is a problem. I can even check with the scheduled task and auto-restart when there is a problem.
I had done user-level Api operations before, but I couldn't find what I wanted in the admin-level api document.