Moved vars from phpd.sh into vars.cfg; updated config.sh to use end-of-line comments
Formatted phpd.sh more like a shell script; added exit values to phpd.sh
Changed the 'file' command to 'read'.
Started Java interface