ElkArte Community

General => Chit Chat => Topic started by: meetdilip on March 08, 2016, 09:32:20 am

Title: XAMPP installation problem
Post by: meetdilip on March 08, 2016, 09:32:20 am
I downloaded the .run file from apachefriends.org and tried to install only to get " command not found " error. Any help ?
Code: [Select]
$ sudo ./xampp-linux-x64-5.6.19-0-installer.run
sudo: ./xampp-linux-x64-5.6.19-0-installer.run: command not found
Title: Re: XAMPP installation problem
Post by: emanuele on March 09, 2016, 07:45:40 am
sh is your friend! ;D
Code: [Select]
sh ./xampp-linux-x64-5.6.19-0-installer.run

Otherwise
Code: [Select]
chmod +x ./xampp-linux-x64-5.6.19-0-installer.run
./xampp-linux-x64-5.6.19-0-installer.run
Title: Re: XAMPP installation problem
Post by: meetdilip on March 09, 2016, 07:54:42 am
No luck

Code: [Select]
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
Title: Re: XAMPP installation problem
Post by: emanuele on March 09, 2016, 08:31:23 am
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
Title: Re: XAMPP installation problem
Post by: meetdilip on March 09, 2016, 08:35:12 am
@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..
Title: Re: XAMPP installation problem
Post by: emanuele on March 09, 2016, 12:55:05 pm
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).
Title: Re: XAMPP installation problem
Post by: meetdilip on March 09, 2016, 01:24:31 pm
QuoteNot Found

The requested URL /phpMyAdmin was not found on this server.
Apache/2.4.7 (Ubuntu) Server at localhost Port 80

You mean, I need to keep the project folders inside /var/www ?
Title: Re: XAMPP installation problem
Post by: emanuele on March 09, 2016, 03:19:51 pm
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
Title: Re: XAMPP installation problem
Post by: meetdilip on March 09, 2016, 03:22:10 pm
No problem at all. I will try.

Also how can I take phpMyAdmin with LAMP ?
Title: Re: XAMPP installation problem
Post by: emanuele on March 09, 2016, 03:47:40 pm
Code: [Select]
sudo apt-get install phpmyadmin
https://www.linode.com/docs/databases/mysql/install-mysql-phpmyadmin-ubuntu-14-04
https://help.ubuntu.com/community/phpMyAdmin
Title: Re: XAMPP installation problem
Post by: meetdilip on March 09, 2016, 04:08:57 pm
Done. Still no phpmyadmin or phpMyAdmin

QuoteNot Found

The requested URL /phpMyAdmin was not found on this server.
Apache/2.4.7 (Ubuntu) Server at localhost Port 80
Title: Re: XAMPP installation problem
Post by: emanuele on March 09, 2016, 05:04:45 pm
Which one did you follow?
The one at ubuntu.com has an "Should you get a 404" section, did you try that too?
Title: Re: XAMPP installation problem
Post by: meetdilip on March 09, 2016, 05:14:59 pm
Thanks @emanuele . A friend helped, now working. He included the phpmyadmin apache config file to the apache folder.