Quick Fixes for PHP Cookbook

* Remove php closing tag along with trailing whitespace which may cause premature output by certain PHP configurations.
* Declare $stack_name class variable
* Fix typo in php::configure debug message