Are you able to connect locally to Google Cloud Storage? Are you using a 
standard or flexible App Engine environment? Which PHP version are you 
working on?

On Monday, June 20, 2022 at 10:12:07 AM UTC-5 phu...@gmail.com wrote:

> Hi all.
>
> I'm deploying my Yii 2 PHP application in Google Cloud Platform, using App 
> Engine. Locally, the app works fine, but it doesn't work at Google Cloud. I 
> dont't know how to configure my application to work wit Goocle Cloud 
> Storage. I have this code at *config/web.php*:
>
> 'components' => [
>         'assetManager' => [
>             'basePath'=>'gs://url-to-my-bucket',
>             'baseUrl'=>'@web',
>         ],
>
> But I have the next exception:
>
> [image: excepcion.png]
>
> Locally, I use this code:
>
> 'components' => [
>         'assetManager' => [
>             'basePath'=>'@webroot',
>             'baseUrl'=>'@web',
>         ],
>
> And it works, but in Google Cloud I have another exception:
>
> [image: excepcion2.png]
>
> ¿What can I do? I don't have experience with Yii 2 and also wit Google 
> Cloud :(
>
> Thank you very much, sorry if my English is not very well.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/e562606e-1671-439c-aa7f-8e5428faf76cn%40googlegroups.com.

Reply via email to