How to enable open_basedir for particular domain in plesk

SSH into your Plesk machine as “root” and go to the conf directory for the domain. Create a “vhost.conf” file in: /var/www/vhosts/<domain name>/conf/ Rebuild the domain configs for the particular host via::– /usr/local/psa/admin/sbin/websrvmng -u –vhost-name=<domain name> or rebuild all via : /usr/local/psa/admin/sbin/websrvmng -a service httpd reload Done. […]

Continue Reading…

A message with the following attributes was not delivered because it contains an object which cannot be checked by antivirus. Relaying such messages is blocked by administrator.

Getting the below delivery failure message while trying to send emails to plesk server with drweb enabled. To resolve this error: /etc/init.d/drwebd restart  If that doesn’t work kill all drweb process. pgrep drwebd | xargs kill -9  Now check emails and if that start work try enabling dr web again by using: /etc/init.d/drwebd restart […]

Continue Reading…

Warning: phpinfo() has been disabled for security reasons

When trying to view phpinfo we get the following error : This is because you have disabled phpinfo in your php.ini file. Just remove that entry from disable_functions and this should be fixed. grep phpinfo /usr/local/lib/php.ini disable_functions = show_source, system, shell_exec, passthru, exec, phpinfo, popen, proc_open, allow_url_fopen, ini_set Done. […]

Continue Reading…

pure-authd (/usr/sbin/pure-authd -s /var/run/ftpd.sock -r /usr/sbin/pureauth) running as root with PID

While trying to restart FTP via WHM we are getting the error : Login to WHM >> Manage Service SSL Certificates >>Reset the FTP SSL certificate. Try restarting FTP, It should work. After that make sure to run: /scripts/upcp –force If that doesn’t work then do the following: cd /var/lib/rpm/ rm -f __db.*  rpm -vv –rebuilddb […]

Continue Reading…