how to check if a php script is running code example Example: how to check if php is compiling <?php phpinfo(); ?>