PHP SDK implementation Demo doesn't work

  • 1
  • Problem
  • Updated 3 years ago
  • In Progress
  • (Edited)
I'm trying to run the php demo and getting this error:

Test 1: authData.php Exception: Undefined variable: argv #0 /home/RingCentral/demo/authData.php(7): {closure}(8, 'Undefined varia...', '/home/R...', 7, Array) #1 /home/RingCentral/index.php(7): require('/home/R...') #2 {main}

I'm not sure what I'm doing..... Any help is appreciated.....

I think i'm missing the appKey, appSecret, and server....
Where do I get those?
Photo of Thomas Costello

Thomas Costello

  • 90 Points 75 badge 2x thumb

Posted 3 years ago

  • 1
Photo of Benjamin Dean

Benjamin Dean, Alum

  • 8,662 Points 5k badge 2x thumb
Hello Thomas,

The server, appKey, and appSecret values can be obtained from the Developer Portal ( and then by viewing the specific application you've defined in the "My Apps" navigation element, you can collect these values from either the app's Dashboard section or from the "Credentials" section.

Please keep in mind that the server value and API keys (appKey and appSecret) will change once your application has applied for and been approved for production access).

I've provided a screenshot with the highlighted areas within the view for an application you'll use to obtain these values...