I'm using Ubuntu 12.10 (Quantal Quetzal) and Zend Server CE 5.6. For some reason I want to try XAMPP, but Zend Server CE automatically start every time I boot up my laptop. Is there a way to stop it?
I don't want to uninstall Zend Server CE.
I'm using Ubuntu 12.10 (Quantal Quetzal) and Zend Server CE 5.6. For some reason I want to try XAMPP, but Zend Server CE automatically start every time I boot up my laptop. Is there a way to stop it?
I don't want to uninstall Zend Server CE.
Zend Server CE installs a run script in /etc/init.d/zend-server
(which is in fact a symlink to /usr/local/zend/bin/zendctl.sh
). The easiest way how to stop Zend Server CE from starting is to remove the symlink, e.g.:
rm /etc/init.d/zend-server
That way the original file will be kept on your system, but it will not run at startup.
[Edit]: If you want the service back just symlink it back:
ln -s /usr/local/zend/bin/zendctl.sh /etc/init.d/zend-server
You can do it with bum
.
Type sudo apt-get install bum
, then launch it with sudo bum
.
This is happening because the OS is starting the default HTTP service when it boots. Zend Server has a dependency on the Linux httpd service when it installs. So you'll have to configure httpd to not start automatically and start it manually when you want.