I'm new here

Php request using composer autoload.php

Hi all!

My goal is being use Analytics vendor (I have it installed in the path /opt/firstspirit5/google-analytics-server-side/vendor of my FS5 server)

I have this same php file without CMS HEADER as test.php in the same path "/opt/firstspirit5/google-analytics-server-side/" and I tried to execute with php test.php and works.

The problem is when I try to use it like a route in the browser or with postman or advanced rest client... it returns a 500 Internal server error (picture).



However if I set some "echo" before "require", I can see it in preview mode:


0 Kudos
0 Replies