When you are developing a script you want to be able to see any errors that may occur including start up errors. You can do with by createing a .htaccess file with the following and uploading it to the direcotry where your script is.
php_flag display_errors on
php_flag display_startup_errors on
php_value error_reporting 2047