您好,登錄后才能下訂單哦!
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進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。