Service missing from Stackdriver Error Reporting after change to PHP 7.2

71 views
Skip to first unread message

Andy Whittle

unread,
Sep 3, 2019, 10:23:25 AM9/3/19
to Google App Engine
Hi

We have two GAE Standard env services within a project.  The PHP 5.5 service is fine, but the 'default' instance has disappeared from Stackdriver Error Reporting after switching the runtime to PHP 7.2 (we think... we're not definite on the point it disappeared).

I've worked through https://cloud.google.com/error-reporting/docs/setup/php and added everything except ...

auto_prepend_file='/project-dir/vendor/google/cloud-error-reporting/src/prepend.php'

... as I gave up trying to figure out what /project-dir/ was after a few attempts.

Is anybody able to provide some pointers, please?  We've got a 500 in QA which we can't replicate in our local env and are fumbling in the dark with no error reporting on the GAE instance.

Thanks!


Andy Whittle

unread,
Sep 6, 2019, 5:08:19 AM9/6/19
to Google App Engine
Bump.   :)

Anthony (Google Cloud Support)

unread,
Sep 9, 2019, 3:51:08 PM9/9/19
to Google App Engine
Hi Andy,

To answer your question. The following line "/project-dir/ " refers to your project name. Although it is not too clear, please look at the following GitHub link here. You'll have to adjust the directory accordingly. I believe once you have that sorted out, then you'll be one step closer to the solution.

I hope this helps.  
Reply all
Reply to author
Forward
0 new messages