Hello
I need to increase the maximum upload file limit, I used .htacess:
php_value upload_max_filesize 20M
php_value post_max_size 20M
php_value max_execution_time 200
php_value max_input_time 200
Whenever I upload .htaccess to the hosting server, all the site fails, whenever I delete it, the site works fine, I need an alternative to set maximum file upload
Help appreciated
Many Thanks
Hosting server wont accpet htaccess, need to increase maximu
Moderator: General Moderators
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
Re: Hosting server wont accpet htaccess, need to increase maximu
Your host may not support overriding with .htaccess - or it may just be fickle about file encoding or some nonsense. I've had more than a little trouble with minutia like this in the past.
An alternative is to try setting the value in your script with ini_set()
An alternative is to try setting the value in your script with ini_set()