Home Tutoriais CMS Drupal – register_globals is enabled


Instalei o drupal num servidor de um cliente e deu o seguinte erro:

register_globals is enabled. Drupal requires this configuration directive to be disabled. Your site may not be secure when register_globals is enabled. The PHP manual has instructions for how to change configuration settings. (Currently using PHP register globals Enabled (’1′))

Ganhei uns cabelos brancos até ver que é bem fácil resolver esse impasse. Basta criar o arquivo php.ini dentro da pasta do drupal com o seguinte código:

[PHP]
register_globals = Off
   

Leave a Reply

This blog is kept spam free by WP-SpamFree.