jay9898 Posted December 23, 2011 Share Posted December 23, 2011 The uploaded file exceeds the upload_max_filesize directive in php.ini. If your server configuration allows it, you may add a directive in your .htaccess, for example: php_value upload_max_filesize 20M (click to open "Generators" tab) I have increased filesize but it still does not work, anyone? Link to comment Share on other sites More sharing options...
El Patron Posted December 23, 2011 Share Posted December 23, 2011 try this, create a test.php file and put this code into it: <?php phpinfo(); ?> upload to your server root navigate your browser to yoururl.com/test.php find 'max_file_uploads', see if your increase is reflected there Note: shared servers may (per hosting company) not allow an increase in this. did your change the 20m using the config.inc.php? or direct change to .htaccess? typically the default upload size set by config/config.inc.php is: ini_set('upload_max_filesize', '100M'); but again your hosting provider may have your settings limited. Link to comment Share on other sites More sharing options...
jay9898 Posted December 24, 2011 Author Share Posted December 24, 2011 ok, I have tried what you said and my upload max filesize has not changed, i have a vps and i have increased php.ini, .htcaccess and even config.inc.php, do you know why the changes are not working? Link to comment Share on other sites More sharing options...
El Patron Posted December 24, 2011 Share Posted December 24, 2011 as you have a vps, you can update your php.ini: ; Maximum allowed size for uploaded files. ; http://php.net/upload-max-filesize upload_max_filesize = 20M ref: http://php.net/manual/en/ini.core.php or any other changes you might need (compare to your php.ini) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now