View Single Post
Old 04-28-2008, 11:32 AM   #15 (permalink)
Salathe
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
Salathe is on a distinguished road
Default

Quote:
Originally Posted by killer-kurt View Post
Ok could you please guide me on how to do the first one (creating the custom php.ini in a sub folder) and attach it please. If that dont work then try the second?
Per-directory PHP.ini
Put a file named php.ini in your web root folder (often looks like /home/username/public_html) with the content:
INI Code:
upload_max_filesize = 300M
post_max_size = 300M

Per-directory .htaccess
Put a file named .htaccess in your web root folder:
HTACCESS Code:
php_value upload_max_filesize 300M
php_value post_max_size 300M

No guarantees but one or the other might work (or both, but don't use both!).
Salathe is offline  
Reply With Quote
The Following User Says Thank You to Salathe For This Useful Post:
killer-kurt (05-01-2008)