remove magic_quote and safe_mode from php-fpm config and php ini