问题
I have Zend Server CE installed on my windows computer. I have made some changes in httpd cofig file. Now I want to restart apache. I haven't found any option to restart apache. There is just one option "Restart PHP".
Can any body tell me from where I can restart apache in Zend Server CE?
回答1:
You say you are using windows?
Zend Server with Apache installs a small application that lives in your tray called "Apache Monitor" you can use this application to restart apache.
回答2:
first you need to check the "Zend server" installation location.
Say for example.
If you installed zend server @ /usr/local/zend/
Use the below command to restart the Zend Server.
/usr/local/zend/bin/zendctl.sh restart
回答3:
Give this a try:
net stop Apache2.2-Zend && net start Apache2.2-Zend
回答4:
If you are using windows, apache should show up as a service.
Use the Windows search function to find the services window.
Select Apache. Stop and start the service and all your config files etc should have updated.
来源:https://stackoverflow.com/questions/13374424/how-to-restart-apache-in-zend-server