Check php safe mode is working ?

J

JoaoCorreia

Guest
How do I check if PHP Safe Mode on is working ?

Regards
Joao Correia
 
Create a php file.
Inside that file, place this code (and only this code):
PHP:
<?php
phpinfo()
?>
and browse to it. It will display all the setting that php is running under for that domain. You will find Safe_mode as one of the listings.
Also, for security purposes, delete the file when you are done to prevent unwanted people grabbing information about your server.
 
Back
Top