Hi, I read around for a while and I had this issue previously,,Can upload more then 2MB.. Here is what I have done:
Created a php.ini file and placed it under public_html and named it php.ini . I put the following in it
upload_max_filesize = 12M
post_max_size = 12M
Question: Can my problem be permission, I have the php.ini at 644
Then I went to my .htaccess and added the following line:
suPHP_ConfigPath /home/mycpanellogin/public_html
I did leave a space between Path & Home.
Here is a copy of the files directly from "Show File" On Cpanel
.htaccess
File Type: ASCII text, with no line terminators
suPHP_ConfigPath /home/myaccountlogin/public_html
php.ini
File Type: HTML document text
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<p>upload_max_filesize = 12M </p>
<p>post_max_size = 12M </p>
</body>
</html>
Question: Can it be the way I'm creating the php.ini file? Which includes the head, body or is the file only to contain the <p>upload_max_filesize = 12M </p>
<p>post_max_size = 12M </p> and nothing else?
I also ran the info.php to check and the seems the upload limit is still at 2MB, as if the steps above did not change anything.
Is there anything wrong I'm doing?
I would like to note that php.ini file is on my root directory, but the domain name with this issue is an add-on domain which has it's own folder on the root, don't know if that makes a difference. Thanks.