Set default php-version for command line Plesk
$ which php
/usr/bin/php
$ mv /usr/bin/php /usr/bin/php-backup
$ ln -s /opt/plesk/php/7.3/bin/php /usr/bin/php
$ php -v
Importing a MySQLDUMP From your SSH command prompt type … mysqladmin -u {username} -p {password} create {databasename} mysql -u {username} -p {password} < {databasename.sql} Replace the parameters with the appropriate values {username} – this is your database username {password} – this is the password for your database {databasename} – the name of your database {databasename.sql}…
https://support.plesk.com/hc/en-us/articles/12377377419287-How-to-run-a-PHP-script-using-a-custom-PHP-executable-in-Plesk-Scheduled-Tasks- Log into Plesk. Go to Tools & Settings > Scheduled Task > Add Task; At Script Path, specify the full path to the PHP script on the server. If arguments are needed, specify that accordingly in the with arguments field; At Run field, specify the desired frequency the task should be run; Choose the Run a PHP…
How to adjust your spam settings via Plesk Introduction This is a quick step-by-step walkthrough for adjusting spam settings on a Reseller Hosting account, via the Plesk Onyx control panel. STEP 1 Login to your account Firstly you’ll need to log in into your Plesk Onyx control panel, which will be at a URL…
Performing a MySQL Database Dump From your SSH command prompt type … mysqldump -u {username} -p {password} {databasename} > {databasename.sql} Replace the parameters with the appropriate values {username} – this is your database username {password} – this is the password for your database {databasename} – the name of your database {databasename.sql} – the file to…