View Thread : upload_max_filesize being ignored in php.ini


lihen
Although I replied to an older thread, I thought I'd start a separate thread.

I have a custom php.ini file that I am using to reset some variables. I am using PHP 5.2.5 currently. I am trying to change "upload_max_filesize", "max_execution_time" and some others, however these are the only two that WILL NOT change.

I have tried reverting to PHP 5.1, still WILL NOT change.

Last, I tried reverting to PHP 5.0, and like magic, they all appropriately apply. However, I can't use 5.0, because I am using some newer PHP functions.

Is this a siteground issue? or a PHP 5.2.5 issue? What's up? I need to edit these variable under PHP 5.2 if possible.

nikon
You can set it at run time too

<?php
ini_set('post_max_size','9M')
?>

now post_max_size variable is 9 MB set. THis is for run time only

pixel876
This is a restriction that siteground.com implemented. They have 24 MB file upload limit and there is no way around this.