Unable to open primary script: /var/www/html/public/index.php (Operation not permitted) #96
-
This is a continuation of #93. I'm able to deploy to ECS with v1.5.0 using the Fly Laravel template we just had an issue with Livewire and Media Library
I'm now trying to use v2.0.2 as that's the one with the variable to disable open_basedir and I have set it to none. now I'm receiving this issue. I have made few changes to the fly template Dockerfile from cp .fly/nginx-default /etc/nginx/sites-enabled/default; \ to
I have set the SSL_MODE mode to off in order to make this work. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
More logs |
Beta Was this translation helpful? Give feedback.
-
I am going to ping @fideloper on this one too since he is part of the team at Fly. I know there were some issues with my latest images on Fly because of the S6 Overlay v3.x upgrade. I think there were some deeper stack issues with how S6 wanted to work and how Fly wanted things to work. Maybe @fideloper could shine some light on this? Let me know if there are any optimizations I can make to make my images better compatible with Fly 👍 |
Beta Was this translation helpful? Give feedback.
-
Sorry not really an issue with the Fly. I'm able to fix the issue by setting the PHP_OPEN_BASEDIR to / instead of none I was able to debug it by trying it on a single index.php that outputs phpinfo(); inside. I'm curious on what's the correct value in order to disable the OPEN_BASEDIR. |
Beta Was this translation helpful? Give feedback.
Sorry not really an issue with the Fly. I'm able to fix the issue by setting the PHP_OPEN_BASEDIR to / instead of none
I was able to debug it by trying it on a single index.php that outputs phpinfo(); inside.
I'm curious on what's the correct value in order to disable the OPEN_BASEDIR.