Article ID: 4600, created on Mar 25, 2008, last review on May 2, 2014

  • Applies to:
  • Plesk 8.x for Linux/Unix


Plesk CP log /usr/local/psa/admin/logs/httpsd_error_log contains errors about wrong SQL syntax:

Unable to execute SQL statement (
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 '0''...


Please set 'magic_quotes_runtime' to 'Off' in /etc/php.ini:

magic_quotes_runtime = Off

and restart Apache. This should fix the error.

b8ef5052d936e902043e41759118114e 29d1e90fd304f01e6420fbe60f66f838 a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF