Xampp Php 7.1.3 <Safe ✰>
XAMPP 7.1.3 bundles phpMyAdmin 4.7.0, which throws deprecation warnings for create_function(). Suppress them by editing config.inc.php:
error_reporting(E_ALL & ~E_DEPRECATED);
Once installed, you will likely need to tweak php.ini (located at C:\xampp-php71\php\php.ini) to mimic production:
; Enable old extensions often missing by default extension=php_mbstring.dll extension=php_curl.dll extension=php_mysqli.dll; Set legacy error handling (E_ALL but not E_DEPRECATED) error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
; Increase memory for bloated legacy code memory_limit = 256M
; Set correct timezone date.timezone = "America/New_York"
Also, ensure that display_errors = On for local debugging—but never on a public server. xampp php 7.1.3
Download XAMPP with PHP 7.1.3 only from the official SourceForge archive. Run it inside a locked-down virtual machine with no internet access. Slowly port your codebase to at least PHP 7.4 (still security-supported until 2022, but now also EOL) or PHP 8.1+.
The era of PHP 7.1.3 has passed, but thanks to XAMPP, it remains a time capsule for developers who need to keep the legacy wheels turning.
Further Resources
Last updated: For modern usage scenarios as of 2025.
To get XAMPP with PHP 7.1.3, you typically need to download the specific legacy installer from an archive, as current versions of XAMPP use PHP 8.x. PHP 7.1 is end-of-life (EOL), meaning it no longer receives security updates 📥 1. Download the Correct Version XAMPP releases are tied to specific PHP versions. To get , you need XAMPP version 7.1.1 (the closest stable builds). Official Archive: XAMPP Windows Archive on SourceForge Search for: File Format: Installer (.exe): Easiest for a fresh setup. Portable (.zip):
Best if you already have XAMPP and want to avoid overwriting it. SourceForge 🛠️ 2. Installation Steps If you are installing this as your primary XAMPP version: Move your existing folder if you have one. Uninstall: XAMPP 7
Remove any existing XAMPP versions to avoid port conflicts (especially for MySQL/Apache). Run Installer: Install to a short path like Disable UAC: Windows User Account Control can block writing to the drive; run the installer as Administrator. Open the XAMPP Control Panel and click to confirm it displays XAMPP Installers and Downloads for Apache Friends 🔄 3. Using Multiple PHP Versions (Advanced)
If you want to keep your current XAMPP but run PHP 7.1.3 for a specific project: Download PHP 7.1.3 binaries PHP for Windows Archive Thread Safe Rename folders: Rename your current C:\xampp\php C:\xampp\php_backup Paste the new PHP 7.1.3 files into a new folder named C:\xampp\php Configure Apache: apache\conf\extra\httpd-xampp.conf to point to the new PHP directory. ⚠️ Important Considerations PHP 7.1.3 is insecure for live web servers. Use it only for local development or testing legacy code. VC Redistributable: PHP 7.1 requires Visual C++ Redistributable for Visual Studio 2015 . Ensure this is installed on your Windows machine. SourceForge 💡 Tips for First-Time Setup Start Services: Always start from the Control Panel before testing your code. Project Location: Place your files in C:\xampp\htdocs . Access them via
To find and use XAMPP with PHP 7.1.3, you generally need to download an older, archived version of XAMPP, as modern releases use PHP 8.x. How to Get PHP 7.1.3 in XAMPP
Since PHP 7.1 is no longer supported, it isn't listed on the main XAMPP homepage. You can find it through the following steps:
Download Archived Versions: Navigate to the XAMPP SourceForge Archive or the Apache Friends Downloads page and look for the "More Downloads" or "Older Versions" link.
Select the Correct Version: PHP 7.1.x versions were released between 2016 and 2019. Look for XAMPP installers specifically labeled with PHP 7.1.3. How to Switch PHP Versions Once installed, you will likely need to tweak php
If you already have XAMPP installed and want to move to or from PHP 7.1.3 without a full reinstall, follow these general steps:
Back Up Files: Copy your existing xampp/php and xampp/apache folders to a safe location.
Download the PHP 7.1.3 Binary: Download the thread-safe zip file of PHP 7.1.3 from PHP.net archives.
Replace the Folder: Delete the contents of your current xampp/php folder and replace them with the extracted files from the 7.1.3 zip.
Configure Apache: You may need to update httpd-xampp.conf in the xampp/apache/conf/extra/ folder to ensure it points to the correct PHP module version.
Restart Services: Stop and start Apache via the XAMPP Control Panel to apply the changes. Verifying the Version To confirm the change worked: Open the XAMPP Control Panel and start Apache.
Click the Admin button next to Apache or go to http://localhost/dashboard/phpinfo.php in your browser. XAMPP Installers and Downloads for Apache Friends
Since PHP 7.1.3 is no longer patched, your local environment can become a vector for cross-contamination if you open it to a network.