A lot of shared hosts will have magic quotes turned on by default. This can create some extra overhead depending on your application. Symfony apps prefer to have this turned off. Here’s how you can do it using either an .htaccess or php.ini file in your web root directory.
#.htaccess
php_flag magic_quotes_gpc off
php_flag magic_quotes_gpc on
# php.ini
magic_quotes_gpc=off
magic_quotes_gpc=on
No comments:
Post a Comment