I've installed a FOP2 server on a separate server as per this document:
http://support.asternic.biz/?/selfhelp/view-article/installing-fop2-on-a-separate-server/8
When I run:
php /var/www/html/fop2/admin/update_conf.php
I get an error in "functions-custom.php" line 167. That line is:
if(!$res = $astman->connect("localhost:".$conf["MGRPORT"], $conf["MGRUSER"] , $conf["MGRPASS"], 'off')) {
I've changed "localhost" on that line by the IP of the remote asterisk server and now I don't get the error anymore but when I go in the admin panel I don't see any extensions. I've check the MySQL credentials and they're OK. If I check in the asterisk database, I see a bunch of fop2 tables so I guess they were created by "update_conf.php". I can connect from the mysql command line of the FOP2 server to the remote asterisk MySQL server with the credentials in "/var/www/html/fop2/admin/config.php".
Thanks for your help
Daniel