PHP Parse error: syntax error, unexpected $end in /var/www/html/admin/modules/directory/functions.inc.php on line 537

Hello All,

Running the latest release and when I went to the admin interface I received the error:
PHP Parse error: syntax error, unexpected $end in /var/www/html/admin/modules/directory/functions.inc.php on line 537

Also, the firewall is complaining with:
Firewall was unable to connect to MySQL after 30 seconds.
Check Database!

This is a fresh install about 2 weeks old.

Yum shows everything i current, so no updates to potentially fix this.

mysqlcheck --repair --all-databases	

I received the same errors as shown, no errors with mysqlcheck said all were OK.

What configuration file contains the DB credentials for the firewall?
Of course I will see this when I know the filename, but what user does firewall use?

Thanks!

Please confirm what is the version of your
1.Freepbx
2.PHP version
3.Operation system

Sorry for the delay in responding.
Everything was at the current versions, I ended up having to reinstall in order to get the system back running.

Thanks!!