Simple, all you need to do is create a new php document, and paste the following into it.
<?php phpinfo(); ?>
Load the page in your browser, and then press Control + F and search for “safe_mode.”