此Docker中的PHP在哪里可以执行?

发布于 2025-01-20 22:16:17 字数 607 浏览 3 评论 0原文

我使用Ubuntu 20.04。 我安装了这个: https://github.com/nanoninja/docker-nginx-php- mysql

我设置的是 PHP 8.1。 安装完成。

http://localhost:8000/ 在 Firefox 中是有效的。

我在桌面 Ubuntu 上使用 CodeLite IDE。我运行 CodeLite - PHP 设置 - 常规 - PHP 可执行文件。

  1. CodeLite IDE 的 Docker 中的 PHP 可执行文件在哪里?
  2. 如何在此 docker 的命令行中运行 PHP 脚本?

我的问题没有答案: https://github.com/nanoninja/ docker-nginx-php-mysql/issues/63

I use Ubuntu 20.04.
I installed this: https://github.com/nanoninja/docker-nginx-php-mysql

I set PHP 8.1.
Install completed.

http://localhost:8000/ in Firefox is work.

I use CodeLite IDE on my desktop Ubuntu. I run CodeLite - PHP Setting - General - PHP Executable.

  1. Where is there PHP executable in this docker for CodeLite IDE?
  2. How do I run PHP script in command line in this docker?

My issue have not answer: https://github.com/nanoninja/docker-nginx-php-mysql/issues/63

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文