[google-appengine] Re: AppEngine Standard PHP7.4 Deploy-Error

2022-08-23 Thread Sirko Uhl
Hello Ernesto

thanks for your response. I have also seen this difference. But i think 
this is a error in the documentation. If you look in the vendor directory 
there is no path named /vendor/*google*/cloud/.

In the meantime, however, I have found several solutions.

1. it's documented in this documentation 
.
  If 
you cannot modify your php.ini, the prepend.php file can be manually 
included to register the error handler:
require_once __DIR__ . 
'/vendor/google/cloud-error-reporting/src/prepend.php';
found by another at stackoverflow 
.

2. worked for me, if i use the relative Path  *./vendor/.../...*

Sincerely

Ernesto Contreras Pinon schrieb am Montag, 22. August 2022 um 17:41:13 
UTC+2:

> From the documentation 
> ,
>  
> the path to the *prepend.php* file should be as follows: 
> //vendor/google/cloud/cloud-error-reporting/src/prepend.php. 
> The path you included in your *php.ini* is a bit different, have you 
> previously tried with the exact path shown in the documentation?
>
> On Thursday, August 18, 2022 at 3:49:59 AM UTC-5 sirk...@talk-point.de 
> wrote:
>
>> I have an App (PHP 7.4) running on Google AppEngine Standard and deploy 
>> works fine. Now i have created a new Project inside CloudConsole 
>>  with same settings and want to 
>> deploy this App to the new generated Project for testreason.
>>
>> *gcloud app deploy app.yaml --project=testapp-2022-08-14*
>>
>> *But i am getting this error:*
>> Fatal error: Unknown: Failed opening required 
>> '/srv/vendor/google/cloud-error-reporting/src/prepend.php' 
>> (include_path='.:/layers/google.php.runtime/php/lib/php') in Unknown on 
>> line 0
>>
>> To activate the Cloud-Error-Reporting i followed this Documentation: 
>> CloudErrorrEPORTING 
>> 
>>
>> *my php.ini*
>>
>> auto_prepend_file = 
>> '/srv/vendor/google/cloud-error-reporting/src/prepend.php' 
>> session.gc_maxlifetime = 259200 opcache.memory_consumption = 128
>>
>> *my app.yaml*
>>
>> runtime: php74
>> instance_class: F1
>> entrypoint: serve bootstrap.php
>> handlers:
>>   ...
>> env_variables:
>>   ...
>> runtime_config:
>>   document_root: .
>> automatic_scaling:
>>   max_instances: 20
>>
>> Can anyone help?
>>
>

-- 
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/b3e29c94-b085-4dd5-87a2-5b39d2421699n%40googlegroups.com.


[google-appengine] AppEngine Standard PHP7.4 Deploy-Error

2022-08-18 Thread Sirko Uhl
I have an App (PHP 7.4) running on Google AppEngine Standard and deploy 
works fine. Now i have created a new Project inside CloudConsole 
 with same settings and want to deploy 
this App to the new generated Project for testreason.

*gcloud app deploy app.yaml --project=testapp-2022-08-14*

*But i am getting this error:*
Fatal error: Unknown: Failed opening required 
'/srv/vendor/google/cloud-error-reporting/src/prepend.php' 
(include_path='.:/layers/google.php.runtime/php/lib/php') in Unknown on 
line 0

To activate the Cloud-Error-Reporting i followed this Documentation: 
CloudErrorrEPORTING 


*my php.ini*

auto_prepend_file = 
'/srv/vendor/google/cloud-error-reporting/src/prepend.php' 
session.gc_maxlifetime = 259200 opcache.memory_consumption = 128

*my app.yaml*

runtime: php74
instance_class: F1
entrypoint: serve bootstrap.php
handlers:
  ...
env_variables:
  ...
runtime_config:
  document_root: .
automatic_scaling:
  max_instances: 20

Can anyone help?

-- 
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/ce14c3b1-5fd9-49fc-bbdb-01d2a050fc70n%40googlegroups.com.


[google-appengine] Memory of App increase

2021-01-22 Thread Sirko Uhl
Hello Supportteam

the memory consumption of my app increases by 22 times and i have no idea 
why. Is there a way to download the source code of the previous deployed 
version to compare the difference?

The only thing i did the last days was updating dependencies.

[image: image.png]

Thanks in advance

-- 
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/6bb13a08-036b-4be8-af62-c43225d273c7n%40googlegroups.com.