How-to articles, tricks, and solutions about XAMPP

How to Configure XAMPP to Send Email from Localhost with PHP

Here is a short tutorial that will assist you in configuring XAMPP to send email from localhost using PHP.

How to enable cURL in PHP / XAMPP

To enable cURL in PHP, you need to make sure that the cURL extension is enabled in your PHP configuration.

How to locate the php.ini file (xampp)

The location of the php.ini file depends on how you installed XAMPP.

How to work on UAC when installing XAMPP

To work with User Account Control (UAC) when installing XAMPP, you can try the following steps:

MySQL Database won't start in XAMPP Manager-osx

There could be a number of reasons why your MySQL database isn't starting in XAMPP on macOS.

mysqli_connect(): (HY000/2002): No connection could be made

This error message typically indicates that there was a problem trying to establish a connection to the MySQL server.

php - Unknown: Failed opening required on line 0. laravel 5.6

This error message is typically caused by a problem with the file path specified in the "require" or "include" statement.

php/mySQL on XAMPP: password for phpMyAdmin and mysql_connect different?

The password for accessing phpMyAdmin and the password for connecting to the MySQL server using the mysql_connect() function can be different.

Setting up SSL on a local xampp/apache server

To set up SSL on a local XAMPP/Apache server, you will need to generate a self-signed certificate, configure the Apache server to use the certificate, and then access the server using https.

Upgrading PHP in XAMPP for Windows?

To upgrade PHP in XAMPP for Windows, you will need to follow these steps.

Where does PHP's error log reside in XAMPP?

In XAMPP, the error log for PHP is typically located at {xampp-install-directory}/php/logs/php_error_log.

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

It looks like you are having an issue with XAMPP and port 80.

XAMPP: Couldn't start Apache (Windows 10)

There are a few things you can try if you are having trouble starting Apache in XAMPP on Windows 10: