Table of Contents
Running PHP Scripts from the Command Line #
You can run PHP scripts in the Command Line for a particular PHP version used in Plesk.
In Plesk for Linux, the PHP binary (the php file) is located in the following path:
Here should be replaced with a particular PHP version number.
For example, if your domain uses PHP version 7.0, use the following command to run the my_script.php script: