Thanks

Those did help a little and got my test project forward.
Google documentation about this is really painful to read..
For example
"Access legacy bundled services for PHP 7+"
What does lecacy bundled service mean ?? 

I know i didn't need composer any libraries for example to make the mail 
work, but with php 7.4 it requires this installed via composer.
Yet if I add 
/vendor/
into .gcloudignore 
the library functions still works...


perjantai 12. elokuuta 2022 klo 1.08.35 UTC+3 Osvaldo Lopez Acuña kirjoitti:

> You can start by taking a look at this guide 
> <https://medium.com/@wes_12365/migrating-from-php5-5-to-7-2-7f8a529820e0> 
> (if you haven't already done it) about Migrating from PHP5.5 to 7.2. In this 
> GCP document 
> <https://cloud.google.com/appengine/docs/standard/php-gen2/php-differences> 
> you will learn about subjects related to migrating an app to PHP7+ in the 
> App Engine standard environment. And finally, in this other document 
> <https://cloud.google.com/appengine/docs/standard/php-gen2/services/migrating-services>
>  
> you will find information about migrating and Apps using legacy bundled 
> services.
>
> On Thursday, August 11, 2022 at 9:59:03 AM UTC-5 jukka.ha...@gmail.com 
> wrote:
>
>> <https://serverfault.com/posts/1107927/timeline>
>>
>> I have php app with few hundred users made with php5. It is using some 
>> google libraries, but Actually I don't have them or composer in my local 
>> linux development project, yet they still work. Somehow google environment 
>> has those as default:
>>   require_once 'google/appengine/api/mail/Message.php';
>>   use \google\appengine\api\mail\Message; 
>>
>> Now I also need to add use Google\Cloud\Storage\StorageClient and also 
>> would like to migrate my app to standard php7 evironment with app.py
>>
>>    1. Do i need the composer libraries the php7 version when running in 
>>    google's servers ?
>>    2. Can I upload a second version of my php5 app to run in php7 for 
>>    testing before making it promoted version ?
>>
>>

-- 
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/a79bf0ec-6009-4b47-b15a-14827bcfc3edn%40googlegroups.com.

Reply via email to