XAMPP versions bundled with were released in early 2017. Because PHP 7.1 reached its "End of Life" (EOL) in December 2019, these versions are no longer available on the main XAMPP download page and are kept only in the community archives. Version Details To get PHP 7.1.3 specifically, you need XAMPP version 7.1.1 (depending on the OS build). PHP Version: Apache Version: MariaDB Version: Release Date: March 2017 How to Download Since this is an outdated version, you must use the Apache Friends SourceForge Archive Navigate to the XAMPP Windows XAMPP Linux XAMPP Mac OS X Look for the folder labeled Download the installer (e.g., xampp-win32-7.1.1-0-VC14-installer.exe Installation Steps Run the Installer:
Double-click the downloaded file. If you are on Windows, you might see a warning about User Account Control (UAC); simply click OK. Select Components:
You can usually leave all components (MySQL, FileZilla, Mercury, etc.) checked unless you want a minimal install. Choose Directory: Install to (Windows) or /opt/lampp
install into "Program Files" on Windows to avoid permission issues. Control Panel: Once installed, open the XAMPP Control Panel and click next to Apache and MySQL. Open your browser and go to xampp php 7.1.3
In the fast-paced world of web development, PHP evolves at lightning speed. However, not every project can—or should—immediately jump to the latest version. For developers maintaining legacy systems, working with specific client requirements, or testing older frameworks, XAMPP PHP 7.1.3 remains a crucial tool.
XAMPP is the most popular cross-platform local web server solution, bundling Apache, MySQL (MariaDB), PHP, and Perl into a single, easy-to-install package. PHP 7.1.3, released in March 2017, introduced powerful features like nullable types, void return types, and class constant visibility modifiers. But more importantly, it serves as a bridge between the old PHP 5.x era and modern PHP 7.x/8.x standards.
This article dives deep into obtaining, installing, configuring, and troubleshooting XAMPP with PHP 7.1.3. Whether you’re a freelancer reviving an old CMS or an enterprise developer replicating a production environment, this guide is your definitive resource. XAMPP versions bundled with were released in early 2017
Copy the php folder from XAMPP 7.1.3 and configure Apache’s httpd.conf:
LoadModule php7_module "C:/xampp-7.1.3/php/php7apache2_4.dll"
AddHandler application/x-httpd-php .php
PHPIniDir "C:/xampp-7.1.3/php"
Then restart Apache.
chmod +x xampp-linux-x64-7.1.3-0-installer.run
sudo ./xampp-linux-x64-7.1.3-0-installer.run
Follow the GUI or TUI prompts. The default install path is /opt/lampp. Method 3: Extract PHP 7
XAMPP with PHP 7.1.3 provides a powerful development environment for web applications. By following this guide, you should be able to install, configure, and troubleshoot XAMPP with PHP 7.1.3. Remember to follow security best practices to protect your development environment.
To install XAMPP with PHP 7.1.3, follow these steps:
C:\xampp on Windows or /Applications/XAMPP on macOS.Composer 2.x may warn about PHP 7.1.3 being outdated.
Fix: Install Composer 1.10.x (the last version to support PHP 7.1). Use composer self-update --1 to lock the version.
Using PHP 7.1.3 on a production server is dangerous. It has known unpatched vulnerabilities (e.g., CVE-2019-11043, a remote code execution in PHP-FPM). However, for local development or an isolated intranet, XAMPP can be safe if you follow these rules:
http://localhost/security/xamppsecurity.php..htaccess:
Order Deny,Allow
Deny from all
Allow from 127.0.0.1 192.168.1.0/24