Questions tagged «php»

PHP是用于构建动态网页的服务器端脚本语言。

1
如何找到在OSX上侦听localhost的进程?
在我的Mac(10.11.5)中,我发现一个奇怪的php服务器正在监听我的本地主机: $ curl -i localhost HTTP/1.1 200 OK Date: Mon, 11 Jul 2016 10:05:11 GMT Server: Apache/2.4.18 (Unix) PHP/5.6.23 Content-Location: index.html.en Vary: negotiate TCN: choice Last-Modified: Mon, 11 Jun 2007 18:53:14 GMT ETag: "2d-432a5e4a73a80" Accept-Ranges: bytes Content-Length: 45 Content-Type: text/html <html><body><h1>It works!</h1></body></html> 但是我找不到任何php进程: $ ps -ef | grep php 501 …
network  macos  php 
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.