Google AdWords API - 来自本地的Web应用程序

I'm using the Google AdWords API to retrieve Campaigns from my Client Accounts.

Using the latest version of both AdWords and XAMPP on my desktop, I run the getCampaigns.php files and everything works fine. I get the results in the terminal.

Now, I need to put this on the web. So I uploaded the library client and put it on my web server and opened the "getCampaigns.php" filepath in my browser and it's blank. I then changed the code so it 'echos' instead but it uses the printf function either way so I should see it.

https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201506/BasicOperations/GetCampaigns.php