How to change Plesk Server Default page

Default pages are located in the HTTPD_VHOSTS_D/default/htdocs (non-SSL) and HTTPD_VHOSTS_D/default/httpsdocs (SSL) folders respectively. You can replace them with your own ones if needed.

HTTPD_VHOSTS_D is a variable that specifies a path to virtual hosts’ locations and may vary depending on the operating system and Plesk version. This path is defined in the /etc/psa/psa.conf configuration file.

APS application with error 40103 SET TIME_ZONE=”+00:00”

When you try to install web application from Application Vault you get warning :

Warning: Site application installation failed: Unable to execute SQL statement ( /*!40103 SET TIME_ZONE=”+00:00” */): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘:00” */’ at line 1


The problem is in magic_quotes_runtime=On in /etc/php.ini
It should be off.


If you need it for some sites, enable this only where it is actually needed via .htaccess

Horde Webmail is incompatible with PHP 5.3

Horde Webmail that is shipped with Plesk Panel is incompatible with PHP 5.3 , temporary solution is to change error_reporting in /etc/php5/apache2/php.ini:

# sed ‘/^error_reporting/s/=.*/=E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR/’ /etc/php5/apache2/php.ini -i

and apply the new PHP configuration:

/usr/local/psa/admin/bin/websrvmng -r
1 118 119 120 121 122 159