Welcome Guest, Not a member yet? Register   Sign In
XAMPP in Linux Won't Start (CentOS Server)
#1

[eluser]rochellecanale[/eluser]
Hello guys I just need your help about the XAMPP configuration in Linux CentOS. This is actually not a CodeIgniter problem but I'd been using CI in many months. And there's a lot of professional programmer here so that I decided to ask my question here. Hope you can help me.

This is what I've when I try to run/start the lampp using this directory:
Code:
[root@hi5 etc]# /opt/lampp/lampp start
Starting XAMPP for Linux 1.8.1...
XAMPP: Another web server daemon is already running.
XAMPP: Another MySQL daemon is already running.
XAMPP: Another FTP daemon is already running.
XAMPP for Linux started.

When i opened my URL it shows the XAMPP index page.
I accessed it using
Code:
//For XAMPP index page
http://122.52.126.238/xampp/  -- displays no error

//For phpMyAdmin
http://122.52.126.238/phpmyadmin/  -- displays database error (configuration)

//For my CI Project
http://122.52.126.238/eMLM/  -- displays database error (configuration)

One more when i run the mysql in this directory:
Code:
[root@hi5 lampp]# mysql
bash: mysql: command not found  -- means no mysql command line?

I configured my localhost to my proper URL. I also configured the hostname in config.php in config folder (CodeIgniter Folder)

By the way,
This is my new installed XAMPP.
#2

[eluser]njkt[/eluser]
looks like mysql is not in the $PATH

you can check by doing

Code:
echo $PATH

you can add it to the path like this

Code:
PATH = $PATH:/path/to/mysql




Theme © iAndrew 2016 - Forum software by © MyBB