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.
| Comments |
|
Powered by !JoomlaComment 4.0alpha3
!joomlacomment 4.0 Copyright (C) 2009 Compojoom.com . All rights reserved."
| Next > |
|---|












