I downloaded the .run file from apachefriends.org and tried to install only to get " command not found " error. Any help ?
$ sudo ./xampp-linux-x64-5.6.19-0-installer.run
sudo: ./xampp-linux-x64-5.6.19-0-installer.run: command not found
sh is your friend! ;D
sh ./xampp-linux-x64-5.6.19-0-installer.run
Otherwise
chmod +x ./xampp-linux-x64-5.6.19-0-installer.run
./xampp-linux-x64-5.6.19-0-installer.run
No luck
dilip-PC:/media/dilip/Software/Ubuntu Software$ sh ./xampp-linux-x64-5.6.19-0-installer.run
./xampp-linux-x64-5.6.19-0-installer.run: 1: ./xampp-linux-x64-5.6.19-0-installer.run: Syntax error: Unterminated quoted string
dilip-PC:/media/dilip/Software/Ubuntu Software$ chmod +x ./xampp-linux-x64-5.6.19-0-installer.run
dilip-PC:/media/dilip/Software/Ubuntu Software$ /xampp-linux-x64-5.6.19-0-installer.run
bash: /xampp-linux-x64-5.6.19-0-installer.run: No such file or directory
But then I wonder: why do you want to use XAMPP if you are using linux?
http://howtoubuntu.org/how-to-install-lamp-on-ubuntu
@emanuele , Actually I followed that guide and installed LAMP. But there is no lampp/htdocs folder under /opt and nothing when I type localhost/phpmyadmin. Advise please..
localhost/PhpMyAdmin
or
localhost/phpMyAdmin
Linux is case-sensitive.
Check /var/www or check inside httpd.conf ("locate httpd.conf" to find where it is).
You mean, I need to keep the project folders inside /var/www ?
Is there any problem with that?
If you prefer another location you change it in the apache configuration putting whatever you like best:
http://stackoverflow.com/questions/5891802/how-do-i-change-the-root-directory-of-an-apache-server
No problem at all. I will try.
Also how can I take phpMyAdmin with LAMP ?
sudo apt-get install phpmyadmin
https://www.linode.com/docs/databases/mysql/install-mysql-phpmyadmin-ubuntu-14-04
https://help.ubuntu.com/community/phpMyAdmin
Done. Still no phpmyadmin or phpMyAdmin
Which one did you follow?
The one at ubuntu.com has an "Should you get a 404" section, did you try that too?
Thanks
@emanuele . A friend helped, now working. He included the phpmyadmin apache config file to the apache folder.