Questions tagged [xampp]

XAMPP is a cross-platform distribution containing Apache, MySQL, PHP and Perl. It is NOT packaged in Ubuntu! Installing LAMP, which consists of the same components, is recommended instead and as easy as installing XAMPP.

XAMPP is a free and open source cross-platform web server stack package, consisting mainly of the Apache HTTP Server, MySQL database, and interpreters for scripts written in the PHP and Perl programming languages.

XAMPP is not available as a package from the Ubuntu repositories and has to be installed and maintained manually.

Ubuntu provides packages for the individual components that make up XAMPP, as all major Linux ditributions do. This so called LAMP stack can be installed with only one command in Ubuntu and will automatically receive security patches via software update process (APT package manager) for as long as the release is supported by Canonical.

See the tag wiki page here on AskUbuntu for more details.

410 questions
64
votes
9 answers

Ubuntu 16.04 - How to start xampp control panel

How can I start xampp? After the installation there was no shortcut created on the desctop, now I am unable to find it. I am using the latest XAMPP for Linux 5.6.30, 7.0.15 & 7.1.1 The panel started right after the installation, but I am unable to…
Black
  • 844
51
votes
2 answers

netstat: command not found

I installed xampp to run a server as part of a guide, but it wasn't working. After trying to run it from command line, I got the following output: $ sudo ./xampp start panel Starting XAMPP for Linux 8.1.6-0... XAMPP: Starting…
Dr-Bracket
  • 2,267
24
votes
9 answers

Change XAMPP's htdocs web root folder to another one

I'm trying to change the XAMPP's web root default directory /opt/lampp/htdocs to another one like /home/me/Dropbox/public_html without success. I've edited the file /opt/lampp/etc/httpd.conf # old line: DocumentRoot "/opt/lampp/htdocs" DocumentRoot…
vitto
  • 443
24
votes
6 answers

How to start xampp GUI

I am having trouble finding out how to start the expanded GUI. I have found a tutorial on how to start this one sudo /opt/lampp/share/xampp-control-panel/xampp-control-panel But I am not able to find out how to start this one
21
votes
5 answers

Run PHP from the command line

I have installed XAMPP v1.8.3 for my PHP development. I am new to Ubuntu, so I don't know how to set environment variable for PHP which is located at /opt/lampp/bin/php. I can run PHP scripts from localhost just fine, but I wanted to run them from…
19
votes
1 answer

xampplib: line 22: netstat: command not found

When I try to start my xampp I get these errors: sudo /opt/lampp/lampp start Starting XAMPP for Linux 5.6.30-0... XAMPP: Starting Apache.../opt/lampp/share/xampp/xampplib: line 22: netstat: command not found /opt/lampp/share/xampp/xampplib: line 22:…
18
votes
3 answers

How to know what version of PHP is used on my xampp?

I am using xampp on my Ubuntu OS. And I need to know what version of PHP my xampp is using. How do I do that?
15
votes
3 answers

Install xampp on ubuntu 16.04

I tried to install using PPA and also by downloading xampp app from apachefriends.org but all in vain. How can I install xampp without any error? Someone suggest a way. bash: ./xampp-linux-x64-5.6.20-0-installer.run: cannot execute binary file: Exec…
Sarath
  • 365
14
votes
4 answers

Cannot start XAMPP on Ubuntu 11.10

When I try to start XAMPP with sudo /opt/lampp/lampp start command it gives me a message like this. Starting XAMPP for Linux 1.7.7... XAMPP: Another web server daemon with SSL is already running. XAMPP: Starting MySQL... XAMPP: Couldn't start…
Asanka400
  • 276
13
votes
3 answers

Xampp htdocs folder, sub folders and all files permission

I am not familiar with Ubuntu. I copied my project folder in htdocs, then I open my project in browser it loads, but styling files (CSS files) don't load. It is a permission problem. I have done a lot of commands but didn't have any success. How can…
Gammer
  • 175
13
votes
3 answers

Not executing programs (*.sh ) with double click in 13.04

I use Ubuntu to host many servers, some minecraft, some cloud services, and many websites. Unfortunately, after upgrading to Ubuntu 13.04, It will not launch the craftbukkit.sh even though it is set to allow it to execute, it only opens in getit. I…
11
votes
3 answers

Install Composer and configure with XAMPP

After reading on web, I learned that XAMPP has php-cli pre-installed and it is accessed by /opt/lampp/bin/php . I installed composer using the following and all went well: sudo curl -s https://getcomposer.org/installer | /opt/lampp/bin/php Composer…
11
votes
1 answer

How to make Curl and PHP available when installed from Xampp

I have installed a recent copy of XAMPP on Ubuntu 14.04. However, when I issue this command: curl -sS https://getcomposer.org/installer | php I get the following error messages: The program 'curl' is currently not installed. You can install it by…
Vince
  • 215
  • 1
  • 2
  • 8
10
votes
6 answers

How to save php file in /opt/lampp/htdocs without going to terminal and type sudo gedit?

I am very new to Ubuntu and I still don't understand a lot of basic concepts so please bear with me. I successfully installed XAMPP 1.7.4 in my ubuntu 11.04. The XAMPP is installed in /opt/lampp. I know how to write php file in /opt/lampp/htdocs…
Moron
  • 2,185
10
votes
6 answers

Completely uninstall xampp if not installed from apt-get

I've downloaded XAMPP from their website. And then manually installed it from my home directory and it is installed in /opt/lampp I've made tons of changes and I don't remember how to revert back to it's default state, so I need a fresh new clean…
AFwcxx
  • 585
1
2 3
27 28