简体   繁体   中英

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 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. What should I do? (Other PHP built websites are still working)

I right clicked on Apache in Laragon, turned SSL on and now it works.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM