Archive for June, 2015

On source: rsync -avopr -e ssh /vz/template/* root@[destination_ip]:/vz/template/
On destination: rsync -avopr -e ssh root@[source_ip]:/vz/template/* /vz/template/

sql query
UPDATE wp_posts
SET comment_status = ‘closed’, ping_status = ‘closed’;

adjust /etc/php.ini (default path)
then /usr/local/psa/bin/php_settings –update-all -> it modifies all websites php.ini according to server /etc/php.ini

# /usr/local/psa/bin/php_settings –help

Usage: php_settings command [options]
Available commands:
–update-all or -u Update per-domain PHP settings of all domains in accordance with the server-wide php.ini file.