On Wednesday 19 April 2006 08:56, Ricardo Rodríguez - XEN (rrodriguez@xen.net) wrote:
The only problem is that the Xampp start scripts seems to check for an Apache daemon running on any port or IP, thus if the default Apache is running, it fails to start even though it will do that in a differente IP address. The solution is to start Xampp first, then the default instance. But I'm not able to figure out how to automatically do that. Please, could you tell me what scripts are implied in the start up process? How could I tell Linux that it must starts Xampp first, then the default Apache instance? To modify the Lampp start up script to increase granularity while testing for availables IPs/ports is completely out of my scope at the moment!
Basically, there are 2 solutions: 1) Quick and dirty - edit /etc/init.d/apache2 and add xampp startup line here (however, it will be lost with next apache upgrade). 2) Create your own startup script something like /etc/init.d/aaapache so it will launch before apache2, and update runlevels.