Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP runtime: Support for Cloud Logging daemon #396

Open
sonnysasaka opened this issue Mar 20, 2024 · 0 comments
Open

PHP runtime: Support for Cloud Logging daemon #396

sonnysasaka opened this issue Mar 20, 2024 · 0 comments
Labels
kind/enhancement New feature or request

Comments

@sonnysasaka
Copy link
Contributor

In the Cloud Logging documentation, it's mentioned that app engine flex environment supports the enable_stackdriver_integration: true option that enables PHP apps to not be blocked by network due to sending batch logs to Cloud Logging, but instead sends the batch logs locally to another running daemon. However, testing reveals that this is not supported in the flex runtime ever since using this buildpacks (I can only find evidence that this is supported in the previous docker-based runtime https://github.com/GoogleCloudPlatform/php-docker).

Some questions, requests, and recommendations:

  1. If this is true, please update the documentation to reflect the case that this is not supported in the buildpacks-based flex environment. Otherwise customers may be disappointed by misleading information.
  2. Supporting this flag out of the box may be difficult and cannot be delivered soon, but I think there is a quick workaround that can unblock customers to use this feature very quickly:

As a customer needing this feature, I can just handle the supervisord config manually for now, but I need support to enable the sysv* extensions from Google, as this can only be delivered via the downloadable runtime at https://dl.google.com/runtimes/*/php/* (

if err := fetch.Tarball(runtimeURL, layer.Path, stripComponents); err != nil {
).

TL;DR: Would Google be able to satisfy the small request to build PHP with --enable-sysv*? If this PHP runtime is also open source, please let me know if I can help contribute to it. (cc: @jama22 @kennethye1)

@sonnysasaka sonnysasaka added the kind/enhancement New feature or request label Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant