Does something in the php.ini have to be enabled for...
Moderator: General Moderators
Does something in the php.ini have to be enabled for...
Does something have to be uncommented for the file operations such as uploading files in the php.ini?
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
- Skittlewidth
- Forum Contributor
- Posts: 389
- Joined: Wed Nov 06, 2002 9:18 am
- Location: Kent, UK
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Given what it's in the ini file for I very much doubt ini_set() allows it. It's kinda a security/bandwidth thing for server admins.Skittlewidth wrote:Out of interest, can you override the 2mb limit using ini_set()?
I don't think our hosts would be so kind to change the ini file despite the money we throw at them..
If you're unhappy with shared hosting you could perhaps try UML hosting, which is still fairly cheap but gives you the freedom to do what you like with php etc.
You may use .htaccess instead of ini_set() or php.ini:Skittlewidth wrote:Out of interest, can you override the 2mb limit using ini_set()?
I don't think our hosts would be so kind to change the ini file despite the money we throw at them..
Code: Select all
<Limit GET POST>
php_value upload_max_filesize "8M"
</Limit>
php_value post_max_size "10M"
php_value memory_limit "12M"
php_value max_execution_time "600"