我正在使用托管的Apache
linux网络服务器,并且想要重新启动以更新php.ini
文件。无法通过ssh在Web服务器上执行apache重启
我试过service httpd restart
通过SSH终端和我得到command not found
你对如何做到这一点正确有什么建议?我也发布了whereis service
并得到/sbin/service /usr/share/man/man8/service.8.gz
不知道这是否有帮助,我对此很新,所以任何帮助将非常感激。
尝试#/ etc/init.d/apache2重启 –
我没有这样的文件或目录 – serps
你确定你已经安装了web服务器吗? –