Re: Why can't I ini_set('upload_max_filesize')?
| From: | Richard Lynch | Date: | Tue, 17 Apr 2007 22:12:09 +0000 |
| Subject: | Re: Why can't I ini_set('upload_max_filesize')? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-253141@lists.php.net to get a copy of this message | ||
Talk to your webhost.
Nobody here can do anything useful for you on this...
Other than to recommend abandoning your current host for a better one.
:-)
On Tue, April 17, 2007 3:46 pm, Brian Dunning wrote:
> Dang. There is no remote access to the server, no way to remotely
> edit php.ini - everything is blocked by the firewall. It's running
> IIS not Apache.
>
>
> On Apr 17, 2007, at 1:40 PM, Daniel Brown wrote:
>
>>
>> That particular variable is a PHP_INI_SYSTEM variable, which
>> means it can only be set in php.ini or httpd.conf. This means
>> that, unfortunately, even if your system uses Apache on Windows and
>> the host allows .htaccess overrides, you still can't set it using
>> php_flags.
>>
>> On 4/17/07, Brian Dunning <brian@briandunning.com> wrote:
>> If I do this:
>>
>> ini_set('upload_max_filesize', 30720);
>> echo ini_get('upload_max_filesize');
>>
>> it returns 2M. Why is it not accepting the ini_set? The server is
>> Windows, PHP 5.2.
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>>
>>
>> --
>> Daniel P. Brown
>> [office] (570-) 587-7080 Ext. 272
>> [mobile] (570-) 766-8107
>
>
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?