-
-
Notifications
You must be signed in to change notification settings - Fork 223
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
Unable to create self contained binary of Existing Laravel app #720
Comments
This looks like a duplicate of #680 |
Thanks a lot. Yes, it is a duplicate. Thank you for your reply. |
Hey, I successfully created the binary. But getting issue while running it. This is my terminal log skmiraj@skmiraj-VirtualBox:~/Desktop/Binary$ sudo ./my-app php-server public/index.php --domain localhost 2024/04/13 20:10:12.166 WARN admin admin endpoint disabled 2024/04/13 20:10:12.167 INFO http.auto_https server is listening only on the HTTPS port but has no TLS connection policies; adding one to enable TLS {"server_name": "php", "https_port": 443} 2024/04/13 20:10:12.167 INFO http.auto_https enabling automatic HTTP->HTTPS redirects {"server_name": "php"} 2024/04/13 20:10:12.175 INFO tls.cache.maintenance started background certificate maintenance {"cache": "0xc0003c1580"} 2024/04/13 20:10:12.376 INFO pki.ca.local root certificate is already trusted by system {"path": "storage:pki/authorities/local/root.crt"} 2024/04/13 20:10:12.377 INFO http enabling HTTP/3 listener {"addr": ":443"} 2024/04/13 20:10:12.378 INFO http.log server running {"name": "php", "protocols": ["h1", "h2", "h3"]} 2024/04/13 20:10:12.378 INFO http.log server running {"name": "remaining_auto_https_redirects", "protocols": ["h1", "h2", "h3"]} 2024/04/13 20:10:12.378 INFO http enabling automatic TLS certificate management {"domains": ["localhost"]} 2024/04/13 20:10:12.379 WARN tls stapling OCSP {"error": "no OCSP stapling for [localhost]: no OCSP server specified in certificate", "identifiers": ["localhost"]} 2024/04/13 20:10:12.379 INFO FrankenPHP started 🐘 {"php_version": "8.3.6"} 2024/04/13 20:10:12.389 INFO Caddy serving PHP app on :443 2024/04/13 20:10:12.413 WARN tls storage cleaning happened too recently; skipping for now {"storage": "FileStorage:/root/.local/share/caddy", "instance": "497a5137-3bb8-4f23-acee-29d5c4261586", "try_again": "2024/04/14 20:10:12.413", "try_again_in": 86399.99999929} 2024/04/13 20:10:12.428 INFO tls finished cleaning storage units When I visit Localhost , nothing found This localhost page can’t be foundNo webpage was found for the web address: https://localhost/ Can you tell me why? |
Is there any way to choose the PHP version while creating a self-contained binary? |
@skmirajbn Yes, use the |
What happened?
I followed this instructions to create self-contained binary using Frankenphp with the help of docker but got this error
I can't understand why this error happened. I used VirtualBox with ubuntu Linux.
Can you provide me with any solution?
Build Type
Official static build
Worker Mode
Yes
Operating System
GNU/Linux
CPU Architecture
x86_64
PHP configuration
Relevant log output
The text was updated successfully, but these errors were encountered: