Asked by duncanb7
at 2024-03-19 11:15:26
Point:500 Replies:6 POST_ID:828575USER_ID:11059
Topic:
PHP Scripting Language;Linux;JavaScript
I have updated memory_limit from 32M to 1024M on php.ini and
sent it back to my server.
And I try a simple script to test the memory_limit setting at Linux shell
just like
<?php echo "display memory_limit=".ini_get("memory_limit").""; ?>
it outputs the 1024M so it is correct but when try
<?php
phpinfo();
?> and put and test it in a script and run on my FF browser,
it showed memory_limit 32M 32M on the browser, it seems it show the old data
Is there two php.ini files , one for Linux shell and one for browser ?
Do I need to do restart something to let phpinfo() working on browser such as FF or IE
where is php.ini for browser ?
Please advise
DUncan
sent it back to my server.
And I try a simple script to test the memory_limit setting at Linux shell
just like
<?php echo "display memory_limit=".ini_get("memory_limit").""; ?>
it outputs the 1024M so it is correct but when try
<?php
phpinfo();
?> and put and test it in a script and run on my FF browser,
it showed memory_limit 32M 32M on the browser, it seems it show the old data
Is there two php.ini files , one for Linux shell and one for browser ?
Do I need to do restart something to let phpinfo() working on browser such as FF or IE
where is php.ini for browser ?
Please advise
DUncan