Zum Hauptinhalt springen

Documentation

IMPORTANT

This is the outdated SI-documentation which will be adapted soon. A huge part may be obsolete!

Magic Quotes

It is a basic requirement from Joomla 3.0 onwards to disable the magic_quotes_gpc. Otherwise, whenever a form was posted on the server, PHP would automatically escape quotes with a preceding slash.

Disable magic_quotes_gpc on htaccess

Some hosting providers do allow you to turn this option off just by overriding the settings in the .htaccess file.

  1. Login to your account using SSH.
  2. Use your favorite text editor to modify the .htaccess file.

    php_flag magic_quotes_gpc  off
    
  3. Save the changes and exit the text editor.
  4. Verify the changes in the Joomla PHP information.

Disable magic_quotes_gpc on php.ini

Some hosting providers do allow you to create a php.ini file in the document root to override the default php.ini settings.

  1. Open the php.ini file using your favorite text editor.
  2. Find the magic_quotes_gpc in the php.ini file.
  3. Change it from On to Off.

    magic_quotes_gpc=off
    
  4. Save the changes and verify the changes in the Joomla PHP information.

If you are unsure how to do this, it's best to contact your hosting provider for clarification.
Wir benutzen Cookies
Wir nutzen Cookies auf unserer Website. Einige von ihnen sind essenziell für den Betrieb der Seite, während andere uns helfen, diese Website und die Nutzererfahrung zu verbessern. Du kannst selbst enscheiden, ob du Cookies zulassen möchtest. Bitte beachte, dass bei Ablehnung womöglich nicht mehr alle Funktionalitäten zur Verfügung stehen.