- Plesk Onyx for Linux
How to run a custom PHP script from lesk graphic user interface?
There are two available options for this purpose:
- Using Scheduled Tasks and button "Run now", refer to this article for more details: How to run a PHP script using a custom PHP executable in Plesk Scheduled Tasks?
- Locate script in some domain and use Custom button functionality. For that:
Navigate to Tools & Settings > Custom Buttons > Add Link to Service.
Fill required fields, paste URL with PHP script and click OK
Learn more about adding Custom buttons here: Adding and Removing Custom Buttons