服务器之家:专注于服务器技术及软件下载分享
分类导航

Linux|Centos|Ubuntu|系统进程|Fedora|注册表|Bios|Solaris|Windows7|Windows10|Windows11|windows server|

服务器之家 - 服务器系统 - Centos - Centos5.2配置LAMP与Centos5.3配置LAMP(17)

Centos5.2配置LAMP与Centos5.3配置LAMP(17)

2019-10-11 14:12Centos教程网 Centos

# Startup script for the Apache Web Server # # chkconfig: - 85 15 # description: Apache is a World Wide Web server. It is used to serve \ # HTML files and CGI. # processname: httpd # pidfile: /usr/loc


# Startup script for the Apache Web Server 

# chkconfig: - 85 15 
# description: Apache is a World Wide Web server. It is used to serve \ 
# HTML files and CGI. 
# processname: httpd 
# pidfile: /usr/local/apache2/logs/httpd.pid 
# config: /usr/local/apache2/conf/httpd.conf 

# Source function library. 
. /etc/rc.d/init.d/functions 

if [ -f /etc/sysconfig/httpd ]; then 
. /etc/sysconfig/httpd 
fi 

# This will prevent initlog from swallowing up a pass-phrase prompt if 
# mod_ssl needs a pass-phrase from the user. 
INITLOG_ARGS=”" 

# Path to the apachectl script, server binary, and short-form for messages. 
apachectl=/usr/local/apache2/bin/apachectl 
httpd=/usr/local/apache2/bin/httpd 
pid=/usr/local/apache2/logs/httpd.pid 
prog=httpd 

延伸 · 阅读

精彩推荐