I am writing a simple php application to test read/write preparations to a Cloud Storage bucket
The bucket is defined and works perfectly when accessed through console web interface
But although I have defined composer.json, php.ini and app.yaml follwing documentation, at run time i get the following message:
Warning: file_put_contents(): Unable to find the wrapper "gs" - did you forget to enable it when you configured PHP?
The code is
<?php
require_once '../vendor/autoload.php';
$destination = "gs://contest17014.appspot.com/ripetiOra_82833hd93hd9dh.mp3";
file_put_contents($destination, $output);
?>
where $output is a mp3 file generated locally (not included for clarity)
I read into docs that wrapper should be included automatically, but this is written into a standard env document, while it is not mentioned into flexible env documentation. Should I define this wrapper by my self ?