- Forums
- PHP
- How To Check That PHP Is On Safe Mode
This Page Contains information about How To Check That PHP Is On Safe Mode By safemode in category PHP with 0 Replies. [2019], Last Updated: Mon Jun 24, 2024
safemode
Thu Apr 24, 2008
0 Comments
486 Visits
How to check that PHP is running and that Safe Mode is OFF !
Use notepad (or other text editor) create an ASCII text file with this line:
<?php phpinfo() ?>
Save that file as webune.php
Must be a text file with .php extension - NOT webune.php.txt
Upload webune.php (as ASCII file) - to the server
Run webune.php from the browser
e.g. www.example.com/webune.php
This will display all the php settings. Use 'find' to check the 'safe' mode section to make sure it is OFF. e.g. look under the Configuration PHP Core Table in the Directive column to see that safe mode is off.