Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm using Ubuntu 12.10, 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.

Thanks!

share|improve this question
    
Find the answer from: askubuntu.com/questions/19320/… –  William Mar 18 '13 at 5:33

3 Answers 3

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
share|improve this answer

This is happening because the OS is starting the default HTTP service when it boots. Zend Server has a dependency on the Linux http service when it installs. So you'll have to configure http to not start automatically and start it manually when you want.

share|improve this answer
    
I am sorry, but this doesn't make any sense. Zend Server CE (or Zend Server Free) does install it's own init.d script, which starts couple of things. You are throwing out the baby with the bath water by disabling HTTPD daemon. –  oerdnj Mar 18 '13 at 15:52

You can do it with bum.

Type sudo apt-get install bum, then launch it with sudo bum.

share|improve this answer
    
I don't think you need whole graphical runlevel editor with a bunch of dependencies (GTK+ ) just to disable one service. The user doesn't have to run XServer on the server machine. –  oerdnj Mar 18 '13 at 15:54

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.