HI.

PHP 8.1, I dont't know if standard or flexible. Yes, I can connect to 
Gcloud Storage with web browser.

El lunes, 20 de junio de 2022 a las 20:18:25 UTC+2, Osvaldo Lopez Acuña 
escribió:

> 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/e6a4bf8b-af4f-491e-8f32-7e4c722b3993n%40googlegroups.com.

Reply via email to