divinequran Posted February 26, 2009 Share Posted February 26, 2009 hi, How do i set chkconfig for lampp, i want the lamp to start automatically when the system gets started. now i start it manually every time. /www/lampp/lampp start Link to comment https://forums.phpfreaks.com/topic/147038-start-lamp/ Share on other sites More sharing options...
JonnoTheDev Posted February 26, 2009 Share Posted February 26, 2009 start apache and mysql? chkconfig httpd on chkconfig mysqld on Link to comment https://forums.phpfreaks.com/topic/147038-start-lamp/#findComment-771933 Share on other sites More sharing options...
Daniel0 Posted February 27, 2009 Share Posted February 27, 2009 What distro are you using? Why don't you use your distro's package manager instead of choosing a third-party bundle? Link to comment https://forums.phpfreaks.com/topic/147038-start-lamp/#findComment-772399 Share on other sites More sharing options...
divinequran Posted March 6, 2009 Author Share Posted March 6, 2009 i am comfortable using it, but every time i use to start the service when i start system, i want to make it auto start. Link to comment https://forums.phpfreaks.com/topic/147038-start-lamp/#findComment-778323 Share on other sites More sharing options...
JonnoTheDev Posted March 6, 2009 Share Posted March 6, 2009 Why cant you just place the line to start the services in your: /etc/rc.d/rc.local And what is wrong with the chkconfig commands in my earlier post? Create an alias to /www/lampp/lampp for /sbin/service Then you can write: service lamp start Link to comment https://forums.phpfreaks.com/topic/147038-start-lamp/#findComment-778333 Share on other sites More sharing options...
Daniel0 Posted March 6, 2009 Share Posted March 6, 2009 And what is wrong with the chkconfig commands in my earlier post? They're distro specific and only work if there are existing init scripts available for those. Link to comment https://forums.phpfreaks.com/topic/147038-start-lamp/#findComment-778396 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.