FilmBuffRich Posted July 11, 2008 Share Posted July 11, 2008 I'm running WP 2.5.1 I have a flash file that is about 18M that I want to upload. However, when I try, I get an error which reads "This file is too big. Your php.ini upload_max_filesize is 2M." I've been through all the control pages, but I can't seem to find where to increase the filesize maximum. Any thoughts? Quote Link to comment Share on other sites More sharing options...
TCH-Thomas Posted July 11, 2008 Share Posted July 11, 2008 Try adding this to your htaccess file and see if it helps: >php_value upload_max_filesize 10M Don´t forget to change 10M to the size you want to upload. Quote Link to comment Share on other sites More sharing options...
FilmBuffRich Posted July 11, 2008 Author Share Posted July 11, 2008 I'd do that through my cPanel, correct? (I'm at work right now, so I won't be able to try this until I get home this afternoon...) Quote Link to comment Share on other sites More sharing options...
TCH-Thomas Posted July 11, 2008 Share Posted July 11, 2008 You should be able to edit the htaccess file through the cpanel, but otherwise if you have an ftp program, just locate the .htaccess file, download it to your computer, add the line in my post above with an text editor and then reupload the file. Quote Link to comment Share on other sites More sharing options...
FilmBuffRich Posted July 11, 2008 Author Share Posted July 11, 2008 Arg, can't seem to find the the .htaccess file and I've searched all through the WP directory. Any thoughts where it should be? Thanks. Quote Link to comment Share on other sites More sharing options...
TCH-Thomas Posted July 11, 2008 Share Posted July 11, 2008 It should be in same directory as your wp-config.php. Make sure your ftp program or cpanels file manager shows "hidden files". But it can also be that you don´t have an htaccess file. If so you will need to create one. Same here as if you were editing an existing one: 1) Open notepad 2) Add the line in my above post and save as htaccess.txt 3) Upload it to the directory that contains wp-config.php 4) Rename the file to .htaccess 4) Done NOTE: Do not forget there is a dot before the name htaccess. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.