Installed XAMPP; How to autostart on boot?

General support questions
Post Reply
riahc3
Posts: 13
Joined: 2015/04/19 17:10:18

Installed XAMPP; How to autostart on boot?

Post by riahc3 » 2015/04/20 17:44:09

I installed XAMPP on CentOS 7 and everything went great but for some reason I cannot get it to autostart.

I wanted to autostart Apache and MySQL but I cant find any way.

Could someone lend me a hand?

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Installed XAMPP; How to autostart on boot?

Post by gerald_clark » 2015/04/20 18:39:22

CentOS 7 does not ship MySQL.
If you installed the supplied MariaDB and httpd, systemctl enable should work
man systemctl

riahc3
Posts: 13
Joined: 2015/04/19 17:10:18

Re: Installed XAMPP; How to autostart on boot?

Post by riahc3 » 2015/04/22 08:32:35

gerald_clark wrote:CentOS 7 does not ship MySQL.
If you installed the supplied MariaDB and httpd, systemctl enable should work
man systemctl
I installed XAMPP https://www.apachefriends.org/download.html which includes MySQL.

User avatar
remirepo
Posts: 447
Joined: 2014/09/21 09:07:12
Location: France
Contact:

Re: Installed XAMPP; How to autostart on boot?

Post by remirepo » 2015/04/22 08:37:11

Probably better to use the LAMP stack available in the distribution (so httpd, mariadb, and php)
Remi's Repository - Forum - Blog

Post Reply