Just create a text file in a text editor like notepad or programmers notepad, do not use a word processing software to create it, they use hidden codes and it can really screw things up.
Just name it php.ini and upload it. Inside that file you do basic stuff like this. Of course many of these are up to you.
PHP Code:
register_globals = Off
upload_max_filesize = 57M
post_max_size = 57M
magic_quotes_gpc = OFF
display_errors = On
log_errors = On
allow_url_fopen = Off
allow_url_include = Off
you can also use the htaccess to do things as well if you dont have or dont want to use the ini file.
in your .htaccess file you can post this
PHP Code:
php_flag magic_quotes_gpc Off