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/ [wpfmb type=’success’ theme=2]<Directory /var/www/vhosts/<domain name>/httpdocs> php_admin_value safe_mode on php_admin_value open_basedir none </Directory>[/wpfmb] 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 […]

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. [wpfmb type=’error’ theme=2]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.[/wpfmb] To resolve this error: /etc/init.d/drwebd restart  If that doesn’t […]

Continue Reading…

Warning: phpinfo() has been disabled for security reasons

When trying to view phpinfo we get the following error : [wpfmb type=’error’ theme=2]Warning: phpinfo() has been disabled for security reasons[/wpfmb] 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, […]

Continue Reading…