GoogleCloudPlatform / php-docker

Docker images for running PHP applications on the App Engine Flexible Runtime
Apache License 2.0
188 stars 82 forks source link

Phalcon.so not found for runtime:php #481

Open qu0cster opened 5 years ago

qu0cster commented 5 years ago

When deploying with runtime: php in app.yaml with extension=phalcon.so in php.ini, I get this error in kaniko-project: PHP Warning: PHP Startup: Unable to load dynamic library 'phalcon.so' (tried: /opt/php72/lib/x86_64-linux-gnu/extensions/no-debug-non-zts-20170718/phalcon.so (/opt/php72/lib/x86_64-linux-gnu/extensions/no-debug-non-zts-20170718/phalcon.so: cannot open shared object file: No such file or directory), /opt/php72/lib/x86_64-linux-gnu/extensions/no-debug-non-zts-20170718/phalcon.so.so (/opt/php72/lib/x86_64-linux-gnu/extensions/no-debug-non-zts-20170718/phalcon.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

Other than that, when deploying as runtime: custom, phalcon seems to be working; but would be nice to have deployment works for runtime: php;

jaitaiwan commented 5 years ago

@sharifelgamal are you still around on this project? I'm wondering if this repo has a direct line to the GAE php runtime or if there's some sort of internal cherry-picking process?

donmccasland commented 5 years ago

The GAE runtime for php is produced entirely from internal code and process and is unrelated to this repo.

On Wed, Aug 21, 2019, 10:16 PM Daniel Holmes notifications@github.com wrote:

@sharifelgamal https://github.com/sharifelgamal are you still around on this project? I'm wondering if this repo has a direct line to the GAE php runtime or if there's some sort of internal cherry-picking process?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GoogleCloudPlatform/php-docker/issues/481?email_source=notifications&email_token=AAF76UTRTBIR4KV6OEYJMTDQFYOLBA5CNFSM4HVGAZ3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD435ASQ#issuecomment-523751498, or mute the thread https://github.com/notifications/unsubscribe-auth/AAF76USUWYYNNOOKTQXPVN3QFYOLBANCNFSM4HVGAZ3A .

jaitaiwan commented 5 years ago

Thanks @donmccasland. I was under the impression from the previous maintainers that the runtime: php system used a docker image based on this repo

jaitaiwan commented 5 years ago

@donmccasland I just realised where I got my assumption from. The documentation states explicitly:

This image is intended to use with runtime: php configuration. The image is uploaded to gcr.io/google-appengine/php:latest.

So I don't think that's correct.

donmccasland commented 5 years ago

Yes, this image produced by this repo gets published up to gcr.io/google-appengine/php:latest, but this image is still only for users of AppEngine Flex or users producing custom images like this: https://cloud.google.com/appengine/docs/flexible/php/testing-and-deploying-your-app

-don

On Sun, Aug 25, 2019 at 5:02 PM Daniel Holmes notifications@github.com wrote:

@donmccasland https://github.com/donmccasland I just realised where I got my assumption from. The documentation states explicitly:

This image is intended to use with runtime: php configuration. The image is uploaded to gcr.io/google-appengine/php:latest.

So I don't think that's correct.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/GoogleCloudPlatform/php-docker/issues/481?email_source=notifications&email_token=AAF76UWL3LKINFROAAE25SDQGMMQJA5CNFSM4HVGAZ3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5C6TRQ#issuecomment-524675526, or mute the thread https://github.com/notifications/unsubscribe-auth/AAF76UV263WG7FVEZSC4DQTQGMMQJANCNFSM4HVGAZ3A .

-- Have build/release/devinfra questions? Join us on Google Chat in the Nest Devinfra Chat https://chat.google.com/room/AAAAZjVzpI4