简体   繁体   English

无法使用 Laragon 运行 PHP 网站,因为“此站点无法提供安全连接 localhost 发送了无效响应。” 错误

[英]Can't run PHP website with Laragon because of "This site can’t provide a secure connection localhost sent an invalid response." error

When I try to run a PHP website with Laragon I get This site can't provide a secure connection localhost sent an invalid response. Try running Windows Network Diagnostics. ERR_SSL_PROTOCOL_ERROR当我尝试使用 Laragon 运行 PHP 网站时,我得到This site can't provide a secure connection localhost sent an invalid response. Try running Windows Network Diagnostics. ERR_SSL_PROTOCOL_ERROR This site can't provide a secure connection localhost sent an invalid response. Try running Windows Network Diagnostics. ERR_SSL_PROTOCOL_ERROR

I already changed the hostname template within Laragon to {name}.local and {name}.mc but didn't worked.我已经将 Laragon 中的主机名模板更改为 {name}.local 和 {name}.mc 但没有奏效。 What should I do?我应该怎么办? (Other PHP built websites are still working) (其他PHP建的网站还在工作)

I right clicked on Apache in Laragon, turned SSL on and now it works.我在 Laragon 中右键单击 Apache,打开 SSL,现在它可以工作了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我如何访问 localhost/phpmyadmin 因为我一整天都无法访问该站点? - How can I access the localhost/phpmyadmin because all day I got This site can’t be reached? 由于SSL错误,无法抓取HTML网站 - Can't HTML Scrape Site Because Of SSL Error 连接失败:无法连接到“ localhost” php上的MySQL服务器 - Connection failed: Can't connect to MySQL server on 'localhost' php 这个查询与php不兼容吗? 它有一个非常明显的语法错误,因为我无法运行它 - Is this query non compatible with php? It there a glaringly obvious syntax error because I can't get it to run 我无法在本地主机上运行任何PHP文件(使用IIS的HTTP 404.3错误) - I can't run any PHP file on localhost (HTTP 404.3 error using IIS) 无法让.bat在WAMP本地主机上与PHP一起运行 - Can't get .bat to run with PHP on WAMP localhost 我将 laragon php 版本更改为 8,之后 apache 将无法运行 - I changed laragon php version to 8 and after that apache won't run 我可以用laragon制作php吗? 以及如何使用laragon在Bowser上运行php脚本? - can i make php with laragon? and how to run a php script on bowser using laragon? 由于出现错误unserialize()而无法运行symfony项目 - Can't run symfony project because of an error unserialize() 出现 500 错误,因为 ajax 无法访问我的 php - Getting 500 error with because ajax can't access my php
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM