![](/img/trans.png)
[英]Why does the Centos apache httpd-2.2.3 rpm remove the bundled apr,apr-util,pcre?
[英]Centos httpd 2.4.3 service does not support chkconfig
由於漏洞,必須在centos 5.9服務器上將apache更新到2.4.3。
它工作正常,但我無法想辦法讓它與chkconfig一起工作(如果可能的話)。
我已經搜索了解決方案,並嘗試在所有網站建議中將“#chkconfig: - 85 15”添加到apachectl中,但它仍然說服務不支持chkconfig。
任何幫助贊賞。
編輯文件/etc/init.d/httpd以設置Linux的運行級別以替換以下行:
# chkconfig: - 85 15
使用這一行:#chkconfig:234 20 80
開始服務: -
/sbin/chkconfig httpd on
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.