Hi, It will be a pleasure to help.
App Engine works by uploading/deploying your local configuration and code. This means you would start locally first. Therefore, if your php.ini is in the root folder of your local code, it should work. In the document you provided, some details are omitted for the entire App Engine process of configuration since it's mostly about Cloud Debugger. However, the rest of the details on how the configuration works for App Engine can be found here[1]. In your case, the php.ini is fairly standard to the runtime and not proprietary to App Engine's YAML, but more part of your codebase and the root folder structure. The explicit answer is located here[2] (where it says "If you need any of the above functions, add a php.ini file in the root of your application"). Also, please note the section below that, that also talks about describing the root folder in the YAML. You may find all the details on that page. Let us know if that solves your issue. Thank you. Sincerely, Alexis Google Cloud Platform Support [1] https://cloud.google.com/appengine/docs/flexible/php/configuration-files [2] https://cloud.google.com/appengine/docs/flexible/php/runtime#disabled_functions On Monday, April 12, 2021 at 5:37:03 PM UTC-4 [email protected] wrote: > > Hi, > I followed the instructions on the page > https://cloud.google.com/debugger/docs/setup/php?authuser=1 > > I am using App Engine Flex. At once the docs asks to do the following: > > > App Engine flexible environment pecl install stackdriver_debugger-alpha > > If your php.ini file does not include extension=stackdriver_debugger.so > after running this step, add it manually. > > > On App Engine Flex, how can I access the php.ini to include that extension? > > I did the rest of steps, however, when running cloud_build on App Engine, > I get error something like "install google/cloud or google/error-reporting > packages". I already have Google/cloud installed. > > Most probably, the extension is missing from php.ini and that's why it's > not working. > > > I appreciate your help. > > Thanks > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/dc1a4854-de71-4729-9e6c-f8b1193c25a1n%40googlegroups.com.
