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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux