News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
PHP SDK implementation Demo doesn't work
Tags: sdk
Mar 31, 2016 at 3:31pm   •   2 replies  •  0 likes

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?

2 Answers
answered on Jul 6, 2019 at 12:52pm  

After you create an Application in your Sandbox environment in your developer portal, you can get all it's information like ppKey, appSecret, and server details, url, phone no etc under dashboard section and credential section of the App already mentioned above.

answered on Apr 13, 2016 at 12:13pm  
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...


A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

Developer Platform
Integrated Apps
App Gallery
Developer support
Games and rewards

Resource center
Product Releases
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us