How to create a custom php.ini file
There are some variables in the php.ini file that can be overwritten, a common request is how to change the PHP file upload limit.
You can do this by creating a custom php.ini file in the directory you want to use (where your script resides).
Here is an example;
On your computer open a new document in Notepad, inside enter the command;
upload_max_filesize = 5M
post_max_size = 5M
(this example shows the limit being set to 5MB, you can change this to your required max file/post size.
Then save the file and name it php.ini and upload it to the directory where your scripts reside.
For PHP5, use php5.ini instead of php.ini.