04-28-2008, 11:32 AM
|
#15 (permalink)
|
|
Moderateur
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
|
Quote:
Originally Posted by killer-kurt
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!).
|
|
|
|