Status Update
Comments
va...@google.com <va...@google.com>
va...@google.com <va...@google.com> #2
Hello,
Thank you for reaching out to us.
I have gone through your issue description and understand that you are facing an issue serving static files with PHP 8.3 runtime app engine flexible environment. I have gone through your app.yaml file which looks fine , but no sure about your directory structure where the root is located. It is recommended in the document_root
setting and also recommend you create a web parent folder and add the "public" and "static" folders in order to access the file and then try again .
Please let me know your observation after trying the above suggestions ,this will enable us to dive deeper into the matter and work towards a prompt resolution. We appreciate your assistance and look forward to resolving this issue for you.
Thank you for your understanding and cooperation.
SA...@ssomens.com <SA...@ssomens.com> #3
I have attached my file structure here.. We have one web folder inside that index.php is there. Outside we have app.yaml file.
Then my app.yaml is
runtime: php
env: flex
service: phpnewversion
runtime_config:
operating_system: "ubuntu22"
runtime_version: "8.3"
document_root: web
manual_scaling:
instances: 1
Pls let me , how you me want to change my file structure.. Pls clarify.
va...@google.com <va...@google.com> #4
Hi,
Thank you for your response.
I have gone thoroughly through your issue description and file directory structure for your web application and it looks good to me. And also make sure you have added the php version in composer.json
as mentioned in composer.json
if you are still facing the issue can please explain more about the line By Changing nginx-app.config file..(it's worked)
? what are the changes you have made in nginx-app.config?
Providing this information helps to best understand the issue.
SA...@ssomens.com <SA...@ssomens.com> #5
I already changed composer.json with latest php version..That also not worked.
I used this workaround solution only..
But My question is, If I used this one means any security issue will come like that.If google app engine authorized means we have no issue.
va...@google.com <va...@google.com> #6
Hi ,
Thank you for your response and sharing the details.
We are further investigating the issue. We need one more confirmation from you regarding this .Could you please confirm if the application is working fine without Static files serving ?
SA...@ssomens.com <SA...@ssomens.com> #7
Our Application completely based on Static Files only, We have Php files,JS files,Css files and Image.All are Static only (which is located Inside our application only).So I checked only Static File. I need solution for Static Files Serving only without using nginx-app.config files.
Looking for positive response from Goolge team.
va...@google.com <va...@google.com> #8
Hello, Thank you for your response.
I have checked again on this and re-verified it from our product engineering team and it is confirmed and also mentioned in the
I'm going to close this issue, which will no longer be monitored. In case you want to report a new issue, please do not hesitate to create a new issue on the
Description
I have Deployed my application in php 8.3 (GAE Flexible Environment).As per Documention
But I am getting issue---Php static file not serving(Including js,css,php files).So my application not working.
Can you give me solution for my issue.
My app.yaml is
runtime: php
env: flex
runtime_config:
operating_system: "ubuntu22"
runtime_version: "8.3"
document_root: web
In php 7.3 my application working perfectly
In Used this workaorund solution for static files serve
By Changing nginx-app.config file..(it's worked)
But my fear is --is there any security issue will come or not..
Google team only have to confirm this one.
I asked in Google community also -- I didn't get any reply.
I am looking for solution to serve static files in php 8.3 (GAE Flexible Environment)