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).
![378389_pastedImage_1.png 378389_pastedImage_1.png](/t5/image/serverpage/image-id/3849i39B5B62981D9579C/image-size/large?v=v2&px=999)
![378388_pastedImage_0.png 378388_pastedImage_0.png](/t5/image/serverpage/image-id/3850i1DF50F52B2C0513A/image-size/large?v=v2&px=999)
However if I set some "echo" before "require", I can see it in preview mode:
![378391_pastedImage_0.png 378391_pastedImage_0.png](/t5/image/serverpage/image-id/3852i66EDC884EF34F4DC/image-size/large?v=v2&px=999)