Questions tagged [xampp]

XAMPP is a cross-platform Apache distribution bundled with MySQL, PHP and Perl.

XAMPP is an Apache distribution containing MySQL, PHP, Perl, Mercury (mail server), phpMyAdmin and Tomcat. Its acronymous name also suggests this, as mentioned below.

The philosophy behind XAMPP is to build an easy-to-install distribution for developers to get into the world of Apache and easy local web hosting on one's own computer.

XAMPP is a compilation of free software. It is compatible with Windows, Linux, Mac, and Solaris. It's, also, free of charge and it's free to copy under the terms of the GNU General Public License.

From version 1.7.4, Tomcat has been a part of the basic package and from version 1.7.2 Perl has been a part of the basic package. There are addon packages called BitNami for XAMPP that are able to install some popular applications, easily, into your working XAMPP packages such as WordPress, Joomla, Drupal, etc.

The name "XAMPP" is an abbreviation for:

  • X (cross) means cross-platform
  • Apache
  • MySQL
  • PHP
  • Perl.

Resources

Latest version:

Windows, Linux, OS X: 8.2.0 (PHP 8.2.0)

12601 questions
52
votes
5 answers

How do I use https (SSL) in XAMPP while using virtual hosts

I am writing a php app on my local machine and would like to test to see if SSL is working. Bear with me because this is the first time I've ever used SSL. So far this is what I've done: Created a SSL Certificate. I followed the first part of this…
Zaki Aziz
  • 3,592
  • 11
  • 43
  • 61
51
votes
31 answers

Laravel 5 error SQLSTATE[HY000] [1045] Access denied for user 'homestead'@'localhost' (using password: YES)

I have installed Laravel 5 successfully and changed MySQL credentials in database.php file in config directory to ' mysql' => [ 'driver' => 'mysql', 'host' => env('DB_HOST', 'localhost'), 'database' …
Ali Rehman
  • 3,731
  • 4
  • 23
  • 28
51
votes
4 answers

XAMPP Port 80 in use by "Unable to open process" with PID 4

XAMPP won't work it says Port 80 in use by "Unable to open process" with PID 4! 6:32:24 PM [Apache] Apache WILL NOT start without the configured ports free! 6:32:24 PM [Apache] You need to uninstall/disable/reconfigure the blocking…
Dave Cribbs
  • 809
  • 1
  • 6
  • 16
50
votes
8 answers

How to work on UAC when installing XAMPP

I am installing Xampp to my computer but when i tried to install it a dialog box is showing up. how do i fix this one.. thank you so much for the help.! the dialog Box: Important! Because an activated User Account Control (UAC) on your system…
FlippingCoin
  • 501
  • 1
  • 4
  • 5
50
votes
7 answers

How to install nodejs on Xampp localhost

Been seeing a lot of how to's on how to install nodejs but nothing is at all clear. So I ask... Can someone provide a step by step installation guide for installing and using nodejs on a xampp server?
Kendall
  • 5,065
  • 10
  • 45
  • 70
50
votes
12 answers

how to access the command line for xampp on windows

I am running Xampp on my Windows 7 machine and was wondering if and how I could run commands for xampp via a command line. commands like php phpfile.php Any advice would be appreciated.
Somk
  • 11,869
  • 32
  • 97
  • 143
49
votes
20 answers

MySQL said: Documentation #1045 - Access denied for user 'root'@'localhost' (using password: NO)

I installed xampp,but when I tried to run it I got an error as thus: Error MySQL said: Documentation 1045 - Access denied for user 'root'@'localhost' (using password: NO) Connection for controluser as defined in your configuration failed. phpMyAdmin…
Saya Antisosial
  • 491
  • 1
  • 4
  • 4
48
votes
5 answers

Xampp Warning: Module 'openssl' already loaded in line 0

I have installed Xampp on windows 7. When I try to run code I get the error Warning: Module 'openssl' already loaded in line 0 This is the same code I have run on the pc before, all I have done is reinstalled Win 7 and a clean install of XAMPP
Mesogi
  • 629
  • 1
  • 5
  • 11
47
votes
24 answers

How repair corrupt xampp 'mysql.user' table?

I used Xampp yesterday to create some simple Web-based utility tool. Today I wanted to continue working on it but xampp control panel gave me some weir errors. This is the MySQL Error Log: 2019-07-20 23:47:13 0 [Note] InnoDB: Uses event…
Philip März
  • 571
  • 1
  • 4
  • 4
47
votes
12 answers

InnoDB: Attempted to open a previously opened tablespace

I have been working on a problem for a few days now. Our local mediawiki page that sits on our box account, destroyed itself and we've been working to get it online. Using XAMPP Control Panel v3.2.1, the errors were numerous so we decided to update…
dedrumhead
  • 479
  • 1
  • 4
  • 3
46
votes
6 answers

COMPOSER: choose the command line php you want to use. There is nothing there

I'm using the Composer Windows installer and it brings me to this window, There is nothing in the dropdown, but I'm not sure where to pick the correct command-line PHP. Should I direct it to the php.exe in XAMPP folder?
deathlock
  • 2,756
  • 5
  • 27
  • 48
46
votes
2 answers

PhpStorm code completion doesn't show core classes/extensions

I'm having trouble with PHPStorm. I just started new project created a couple of my own classes, in one of them I created PDO object. $this->cnn = new PDO("sqlite:db/base.db"); Now when I want to see what kind of methods this object has via crtl +…
Darvex
  • 3,624
  • 2
  • 23
  • 39
45
votes
7 answers

I get Access Forbidden (Error 403) when setting up new alias

I'm running windows 7 and recently installed XAMPP to build a dev environment. I'm not great with the server side of things so I'm having some problems setting up an alias for a project. So far XAMPP is running and if I go to localhost I get the…
Gazillion
  • 4,822
  • 11
  • 42
  • 59
45
votes
11 answers

Access to the requested object is only available from the local network phpmyadmin

I just installed xampp 1.8.0 for linux and when I opened phpmyadmin I got this error Access Forbidden!! New XAMPP security concept: Access to the requested object is only available from the local network. This setting can be configured in the…
Pramodh
  • 775
  • 2
  • 9
  • 17
44
votes
20 answers

Xampp MySQL not starting - "Attempting to start MySQL service..."

I've just installed XAMPP for Windows - should be the newest version (XAMPP Control Panel v3.2.1). Apache is running just fine on port 80 and 443, but MySQL is not starting. When I press the start button, I get this message: Attempting to start…
BeHaa
  • 509
  • 1
  • 6
  • 12