Re: Why can't I ini_set('upload_max_filesize')?
| From: | Brian Dunning | Date: | Tue, 17 Apr 2007 20:46:51 +0000 |
| Subject: | Re: Why can't I ini_set('upload_max_filesize')? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-253126@lists.php.net to get a copy of this message | ||
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