Re: [PHP] Why can't I ini_set('upload_max_filesize')?



On 4/17/07, Brian Dunning <brian@xxxxxxxxxxxxxxxx> 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.

I'm not totaly sure about IIS, i never use it, but PHP_INI_PERDIR can
also be set in .htaccess file :)

Tijnema


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@xxxxxxxxxxxxxxxx> 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


.



Relevant Pages

  • Re: Force apache to parse html files as php
    ... their instruction is to add the following to the .htaccess file: ... our local in-office server for testing and viewing our sites is ... Apache 2.0.55 with PHP 4.4.4 on Windows XP Pro. ...
    (comp.lang.php)
  • Re: Not a Debian question, but you guys know this stuff...
    ... > that the more experienced ones may know how to help me in Windows and Linux. ... Apache support running on Windows. ... >> * post your question to a forum where it's off topic ... initial message would have been better suited for *their* mailing lists. ...
    (Debian-User)
  • Re: Developing PHP under Windows - Why?
    ... Windows 2000, Apache 2, Microsoft SQL Server, and PHP. ... We went with the Windows route mainly for human resource reason. ... I knew virtually nothing about Linux at the time - and very little about Apache. ...
    (comp.lang.php)
  • Re: How do install Front Page Extensions when running Apache serve
    ... apache on windows, windows being a MS product and all;o) ... How can i add ASP as a language to apache server then? ... > FP server extensions are not supported on Apache for Windows. ... > Microsoft MVP - FrontPage ...
    (microsoft.public.frontpage.extensions.windowsnt)
  • RE: Webservers
    ... At least with the GUI, you run help, and just click the link in help to ... Finally, there are a billion books out there on windows, and technet as ... But, of course, if you know 'NIX, it is easier to administer for you, ... There are are some GUI apache configuration tools ...
    (Security-Basics)