The path in your require statement is likely incorrect, which would produce a php error, or you are requesting the file through the file system, rather than through a URL, which would result in the raw php code being seen in the 'view source' of the page in your browser.
Do you have php's error_reporting set to E_ALL and display_errors set to ON (preferably in the php.ini on your development system), so that php would report and display all the error it detects. Are you requesting the file using a URL, something like http://localhost/your_file.php and what does the blank page look like in the 'view source' in your browser?