[PHP]
magic_quotes_gpc = Off
Don't worry about making sure all of the other variables are in the file, they will all fall back to the current server-wide php.ini file, so you only need to type the variables you want to change.
Or in .htaccess file within your /public_html/ folder
php_flag magic_quotes_gpc Off