How to start XAMPP in my browser after installing it successfully
I followed this link to install XAMPP on my machine: XAMMP for Linux. I can't open XAMPP in my browser, but I'm getting the 404 errror
i.e
Not Found The requested URL /xampp/index.php was not found on this server. Apache/2.2.20 (Ubuntu) Server at localhost Port 80
Can anyone help me to find out the error.
Solution 1:
The command for starting the server is:
$ sudo /opt/lampp/lampp start
Source here:
apache friends - xampp for linux
Solution 2:
Start command: $ sudo /opt/lampp/lampp start
If you want XAMPP to start automatically when you logon to the system:
Open terminal and run following command sudo gedit /etc/init.d/lampp
paste following code in open file
#!/bin/bash
/opt/lampp/lampp start
save and close the file
run following command to make this script executablesudo chmod +x /etc/init.d/lampp
run following command to install init scripts to all runlevel
sudo update-rc.d lampp defaults
restart the system
Tutorial link with screenshots: here