Ask Question Forum:
Model Library:2025-02-08:A.I. model is online auto reply
C
O
M
P
U
T
E
R
2
8
Show
#
ASK
RECENT
←
- Underline
- Bold
- Italic
- Indent
- Step
- Bullet
- Quote
- Cut
- Copy
- Paste
- Table
- Spelling
- Find & Replace
- Undo
- Redo
- Link
- Attach
- Clear
- Code
Below area will not be traslated by Google,you can input code or other languages
Hint:If find spelling error, You need to correct it,1 by 1 or ignore it (code area won't be checked).
X-position of the mouse cursor
Y-position of the mouse cursor
Y-position of the mouse cursor
Testcursor
caretPos
Attachment:===
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
Author: duncanb7 replied at 2024-03-19 11:42:10
Yes, reboot
Accepted Solution
Expert: woolmilkporc replied at 2024-03-19 11:28:51
500 points EXCELLENT
restart stops then starts a running system
shutdown stops a running system and leaves it stopped
startup starts a stopped system
So I'd suggest "restart", but "shutdown" and, after a few minutes "startup" isn't wrong either.
shutdown stops a running system and leaves it stopped
startup starts a stopped system
So I'd suggest "restart", but "shutdown" and, after a few minutes "startup" isn't wrong either.
Author: duncanb7 replied at 2024-03-19 11:24:28
THe hosting company provides me three buttons to chose my account page
, restart, shutdown, startup
, restart, shutdown, startup
Author: duncanb7 replied at 2024-03-19 11:23:35
On my VPS server, there is two buttion , one restart and startup
which one I should choose,
The help staff, just told, restart just restart VPS and startup just starts VPS
so it is confused to me.
If I just reboot, do I lose some password setting such as SSH passwd etc..?
Duncan
which one I should choose,
The help staff, just told, restart just restart VPS and startup just starts VPS
so it is confused to me.
If I just reboot, do I lose some password setting such as SSH passwd etc..?
Duncan
Expert: COBOLdinosaur replied at 2024-03-19 11:22:45
Browsers do not have an ini file.
Cd&
Cd&
Expert: woolmilkporc replied at 2024-03-19 11:21:13
Restart the webserver (Apache? Then it's "apachectl restart") so it reads the new settings.
The shell uses the commandline version of php, whereas the web server uses php library functions.
The shell uses the commandline version of php, whereas the web server uses php library functions.