Hi Vinit, George is right. These functions are disabled, but I could enable them from my app.yaml setting when ever I need them like so...
env_variables: # Put production environment variables here. APP_NAME: Test project WHITELIST_FUNCTIONS: phpinfo, exec, phpversion, proc_open, symlink, proc_close ,shell_exec ,passthru Let me know if that works for you. PS this works for the the flex environment as George clearly pointed out just that they are disabled. Cheers, Mua On Tue, Mar 31, 2020 at 4:04 PM 'George (Cloud Platform Support)' via Google App Engine <[email protected]> wrote: > In your local development environment, if you want to run a script > including gcloud commands, you should refer to the "Scripting gcloud CLI > commands" documentation page > <https://cloud.google.com/sdk/docs/scripting-gcloud>. In this local > environment, it is unclear why you chose to use PHP and the shell_exec() > command; you can run the script directly at the command prompt. > > If you mean to run shell_exec() in the code of your deployed PHP app, this > is not supported. App Engine Standard Environment does not allow system > calls. In the Flexible Environment, the following functions are disabled: > exec, passthru, proc_open, proc_close, shell_exec, show_source, symlink, > system. > > -- > 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/243ffd40-7baf-4821-9954-9dd86ac9f904%40googlegroups.com > <https://groups.google.com/d/msgid/google-appengine/243ffd40-7baf-4821-9954-9dd86ac9f904%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- *MUA N. LAURENT*: Lead Software Engineer Akivas Inc. <https://akivas.com/> Akwa, Douala,CM 00237 | 174 Royal Rd, Cape Town, WC 7405, SA Phone: (237) 670-518-086 -- 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/CAHAhu-gTnnJvQSzXNCHLY--8rpRgywfLghu30zWSZZouc8MtXQ%40mail.gmail.com.
