Solve the ownCloud error "Magic Quotes is enabled. ownCloud requires that it is disabled to work properly."
If you get this error message, for example after an ownCloud update:
"Magic Quotes is enabled. ownCloud requires that it is disabled to work properly.Magic Quotes is a deprecated and mostly useless setting that should be disabled. Please ask your server administrator to disable it in php.ini or in your web server config.
PHP modules have been installed, but they are still listed as missing? Please ask your server administrator to restart the web server."
Simply add the following to the end of the .htaccess-file in the ownCloud root directory to solve the error:
php_flag magic_quotes_gpc off