This may seem pretty noob to some people but I’ll post it anyway since I’ve been asked a few times.
There are a lot of tweaks for PHP that you can perform by placing a local copy of php.ini in the location of your scripts and modifying the necessary values. Modifying this file will let you increase the default upload size (2MB? No way.), script max execution time and, in general, make you look like a magician.
The default location on most *nix boxes is /usr/local/php/lib and if not, then running the <? phpinfo;?> command will tell you the where it is. If you can’t access the file to see the contents you can download a copy of PHP from
http://www.php.net/downloads.php and extract the php.ini file or view the generic one here:
http://cvs.php.net/viewvc.cgi/php-src/php.ini-dist?view=co.
Simple as that.