your set it to '-1'!!!
thats not allowed. You must habe a value highter than zero. Its better you set
it in generall to 60. And you forgot the 'M' fater the number like
ini_set("memory_limit","-1M");
set it better to that:
ini_set("memory_limit","60M");
> hello,
>
> what do I have to change
Mukasa Assey Alfred wrote:
> Try ini_set(memory_limit, "-1");
Maybe the quotes on "-1" will help, but memory_limit should also have quotes.
> On Wed, 8 Dec 2004, Joerg P wrote:
>
>> hello,
>>
>> what do I have to change in php.ini, to allow thr
>> ini_set("memory_limit",-1);
>> command?
>>
>> It
Try ini_set(memory_limit, "-1");
regards
Assey
On Wed, 8 Dec 2004, Joerg P wrote:
> hello,
>
> what do I have to change in php.ini, to allow thr
> ini_set("memory_limit",-1);
> command?
>
> It doesn't work in my script...
>
> regards
> Joerg
>
> --
> PHP General Mailing List (http://www.php.net/
hello,
what do I have to change in php.ini, to allow thr
ini_set("memory_limit",-1);
command?
It doesn't work in my script...
regards
Joerg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>but you'd have to put set_ini() in each of your files (unless you're putting
>it in an auto prepended file)
Thanks.I haven't explained enough.
I have one file included at the beginning of all files.
So I only have to write ini_set in that file only once.
I really appreciate your answer. thanks.
> [snip mail header info]
>
> Hello,
>
> >why don't you just do an include "hello.html"; at the end of the file?
>
> Because, there are so many files.
> thanks.
>
> [snip mail footer info]
but you'd have to put set_ini() in each of your files (unless you're putting
it in an auto prepended file)
Hello,
>why don't you just do an include "hello.html"; at the end of the file?
Because, there are so many files.
thanks.
Hiroshi Ayukawa
http://hoover.ktplan.ne.jp/kaihatsu/php_en/index.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
why don't you just do an include "hello.html"; at the end of the file?
-Original Message-
From: Hiroshi Ayukawa [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 11, 2002 2:04 PM
To: [EMAIL PROTECTED]
Subject: [PHP] ini_set doesn't work
Hello,
I wnat to set auto_a
Hello,
I wnat to set auto_append_file in my own php script not in php.ini.
So I used
ini_set("auto_append_file","hello.html");
But it doesn't work.
Does anyone know about this?
environment:
Apache + Windows2000 + PHP4.1.2
Apache + TurboLinuxServer7 + PHP4.1.2
Regards,
Hiroshi Ayukawa
--
9 matches
Mail list logo