chopficaro Posted November 6, 2010 Share Posted November 6, 2010 im trying to make an art gallery site for my sister with free hosting, i need upload_max_filesize to be at least 3m ive tried many free hosting services and they are all 1.5m ive tried what these guys say http://www.openg.info/entry/php-cpanel-change-upload-max-filesize-cpanel-access-php-ini which is put this in htdocs: .htaccess #Enables mod_rewrite, otherwise all Rewrite directives below will not work RewriteEngine on #Activates php.ini config located in main folder to work also recursively for all subfolders, obviously replace your_cpanel_user with your full path, you find it in cPanel home page on the left it's called 'Home Directory' suPHP_ConfigPath /home/vol2/20x.cc/20x_6657899/public_html php.ini upload_max_filesize = 3M post_max_size 8M memory_limit 128M max_input_time -1 which just gives me a 404 and ive tried running this, and it gives me the same old 1.5m every time index.php <?php phpinfo(); ini_set("upload_max_filesize", "3M"); // Think that's right... phpinfo(); ?> Quote Link to comment https://forums.phpfreaks.com/topic/217910-upload_max_filesize-solutions/ Share on other sites More sharing options...
trq Posted November 6, 2010 Share Posted November 6, 2010 Get yourself a decent host, you get what you pay for it really as that simple. Quote Link to comment https://forums.phpfreaks.com/topic/217910-upload_max_filesize-solutions/#findComment-1130953 Share on other sites More sharing options...
inversesoft123 Posted November 6, 2010 Share Posted November 6, 2010 Ask your host to change upload_max_filesize from root. it should be at least 20M. Otherwise i recommend to chance host as mentioned by trope Quote Link to comment https://forums.phpfreaks.com/topic/217910-upload_max_filesize-solutions/#findComment-1130968 Share on other sites More sharing options...
chopficaro Posted November 6, 2010 Author Share Posted November 6, 2010 i dont think the folder public_html exists actually Quote Link to comment https://forums.phpfreaks.com/topic/217910-upload_max_filesize-solutions/#findComment-1130977 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.