[英]Cannot find Lando apache default config files
I'm using Lando to create a local development server for a Laravel project with the recipe below in .lando.yml
我正在使用 Lando 为 Laravel 项目创建一个本地开发服务器,并在
.lando.yml
中使用以下配方
name: projectname
recipe: laravel
config:
php: '7.3'
composer_version: '2.0.7'
via: apache:2.4
webroot: .
database: mysql:5.7
cache: none
xdebug: false
config:
server: lando/httpd.conf
I need to add a few lines to a custom httpd.conf
so I specify a path server: lando/httpd.conf
.我需要在自定义
httpd.conf
中添加几行,因此我指定了一个路径server: lando/httpd.conf
。 However, I couldn't locate the current default httpd.conf
in order to make a copy and use it as a custom file.但是,我无法找到当前默认的
httpd.conf
以制作副本并将其用作自定义文件。 The link provided on Lando official site doesn't seem to work. Lando官方网站上提供的链接似乎不起作用。
Did you try looking in the apache2 foler in the container?您是否尝试查看容器中的 apache2 文件夹?
$lando ssh
$cd /etc/apache2
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.