Hi,
If you are getting any errors representing is part of Plesk x distribution. It cannot be run outside of Plesk x environment
something like for the below file
php /usr/local/psa/admin/plib/DailyMaintainance/script.php
The file /usr/local/psa/admin/plib/DailyMaintainance/script.php is part of Plesk 9 distribution. It cannot be run outside of Plesk 9 environment
All you need to do is to execute the php file from Plesk’s php binary. which will probably be located at “/usr/local/psa/admin/bin/php”.
/usr/local/psa/admin/bin/php /usr/local/psa/admin/plib/DailyMaintainance/script.php
The above command will execute successfully.
Thanks for viewing helpinlinux,com