当我在 centos 上的 /usr/local/lib 中的 php.ini 中进行任何更改时,这些更改似乎没有应用,例如,当我清除 php.ini 的所有内容并重新启动 Apache 时,一切正常。 ..
我搜索了 php.ini,它在系统中的一个地方...有什么问题?我怎样才能解决这个问题?
我想通过 为我的网站创建通配符 SSL LetsEncrypt。我按照说明运行后Certbot,它给了我一个 DNS 挑战并说:
Please deploy a DNS TXT record under the name
_acme-challenge.db.example.com with the following value:
jn324jr348r342bhr234hrou234nbr4324fj34r
Run Code Online (Sandbox Code Playgroud)
db.example.com 也在里面/etc/bind/。
我所做的是打开db.example.com并在底线添加以下内容:
_acme-challenge.db.example.com 3600 IN TXT "jn324jr348r342bhr234hrou234nbr4324fj34r"
Run Code Online (Sandbox Code Playgroud)
但是当我像这样检查它时:
nslookup -type=TXT _acme-challenge.example.com
Run Code Online (Sandbox Code Playgroud)
它给了我这个错误:
- The following errors were reported by the server:
Domain: db.example.com
Type: dns
Detail: DNS problem: NXDOMAIN looking up TXT for
_acme-challenge.db.example.com - check that a DNS record
exists for this domain
ubuntu@me-1:/etc/bind$ nslookup -type=TXT _acme-challenge.example.com
Server: 127.0.0.53
Address: …Run Code Online (Sandbox Code Playgroud) domain-name-system ssl ssl-certificate txt-record lets-encrypt