You should have environment variables BBB_SECRET and BBB_SERVER_BASE_URL defined in your sever.
*if you are using Laravel you can add it in your .env
The you will be able to call BigBlueButton API of your server. A simple usage example for create meeting looks like:
use BigBlueButton/BigBlueButton;
$bbb = new BigBlueButton();
$createMeetingParams = new CreateMeetingParameters('bbb-meeting-uid-65', 'BigBlueButton API Meeting');
$response = $bbb->createMeeting($createMeetingParams);
echo "Created Meeting with ID: " . $response->getMeetingId();
I have created the environment variables in /etc/apache2/envvars
export BBB_SECRET="8cDH7ygM4SXfXooxhTsdEZWSAes4zQPHuX17mXXXXX"
export BBB_SERVER_BASE_URL="salas.citasvirtuales.online"
I don't understand what is wrong.
Thank for your help
Pascal