Apply config generates this php error

I have done at least some search online to this error but not yet resolved the issue.

I hit the Apply Config button and this is what is generated.
exit: 1
PHP: Error parsing /etc/php.ini on line 325
[FATAL] Unable to connect to Asterisk Manager from /var/lib/asterisk/bin/retrieve_conf, aborting

Log into the box as ‘root’.

Type 'vi /etc/php.ini’
Type ‘:325’

Look at the line the cursor is on and see what’s broke.
If it’s nothing important Type “0i#” and hit the escape key.

Type ‘:wq’

Try it again and see what happens. You may need to restart asterisk with ‘amportal restart’

Of note this was fixed in IRC. The user put a permit= in manager.conf, freepbx connects over the loopback interface.