non-thread-safe是非安全线程主要与IIS搭配环境。
thread-safe安全线程与Apache搭配环境。
注意thread-safe版本中会有php5apache2_4.dll的动态链接库,与apache搭配。
其次,就是把php.ini-production改成php.ini文件,并存到根目录下。”Description:
./apachectl start
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Cause:
This problem is caused by another service listening to TCP/IP port 80.
Solution:
1. $ sudo fuser -k -n tcp 80
2. Change the listen port in the httpd config file to 81, by doing this we want to see which service is using port 80.
netstat -tlnp | grep 80
3. Third solution is to change binging address in your httpd.conf like this:
Listen 127.0.0.1:80 ( that means: instead of Listen 0.0.0.0:80)
问题迎刃而解!
注意:英文不好的我解释下,其实就一句话:把端口从80设置成81~
然后启动apache,出现此界面说明正确:
搞定!~
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。