- 论坛徽章:
- 0
|
求助:red8.0+apache+php如何防止phpshell.php?
Safe Mode
If PHP is running in Safe Mode, then you cannot use PhpShell --- sorry. Safe Mode is designed to prevent people from peeking at each others files using scripts like PhpShell. It does this by restriting the commands that can be executed using the shell_exec() call in PHP, and it also restricts the files and directories that can be accessed using other calls in PHP.
The effect is, that PhpShell simply doesn't work --- you cannot change directory and you cannot execute any commands. |
|