On most systems, you can use apachectl restart as root.
对于大多数系统,可以以root用户的身份使用apachectlrestart进行重启。
With that done, apachectl restart makes apache reload its configuration files.
完成后,执行apachectlrestart,让apache重新加载其配置文件。
When the copy is complete, restart the Web server with sudo apachectl restart.
复制完成后,使用sudoapachectlrestart重启Web服务器。
If you compiled apache from source, you must instead modify the apachectl script to include the preceding line.
如果是从源代码编译apache,那么您就必须换一种做法:修改apachectl脚本以包含上面这行。
Save the file and use the apachectl command to tell apache to reload its configuration file and activate the new URLs.
保存文件,并使用apachectl命令告知apache重新加载其配置文件并激活新url。
To provide the environment variables PHP needs to connect to DB2, add this line to Apache's startup script, /opt/local/apache/bin/apachectl.
为了能够提供环境变量,PHP必须要连接到DB2,将该代码行添加到Apache的启动脚本程序中,/opt/local/apache/bin/apachectl。
To provide the environment variables PHP needs to connect to DB2, add this line to Apache's startup script, /opt/local/apache/bin/apachectl.
为了能够提供环境变量,PHP必须要连接到DB2,将该代码行添加到Apache的启动脚本程序中,/opt/local/apache/bin/apachectl。
应用推荐