How To Install Phalcon PHP On XAMPP For Windows 11
Table of contents
Install Phalcon PHP On XAMPP For Windows 11
In This article, We will go over the steps of Installing XAMPP and Phalcon on Your Windows 11 system. Before going to the setup we need to know about Phalcon Framework.
What is Phalcon?
Phalcon is an open-source full-stack framework for PHP, written as a C-extension. Phalcon is optimized for high performance. Its unique architecture allows the framework to always be memory resident, offering its functionality whenever it’s needed, without expensive file stats and file reads that traditional PHP frameworks employ.
INSTALL XAMPP ON WINDOWS 11
**Step 1: Download XAMPP on Official Site **
XAMPP is an easy-to-install Apache distribution containing MariaDB, PHP, and Perl. Just download and start the installer. It's that easy.
Download XAMMP ⬇️
**Step 2: Run the Installer **
The Downloading will take a couple of minutes after that run the downloaded installer in your system.
Step 3: Choose Components
During the installation, you'll be prompted to select the components you want to install. By default, Apache, MySQL, PHP, and phpMyAdmin are selected. You can keep the default selection or choose additional components based on your requirements.
Step 4: Installation Process
Choose the installation directory for XAMPP. The default directory is usually "C:\xampp, but you can change it if needed.
Once you've selected the components and the installation directory, click the "Install" button to start the installation process. The setup will extract and install the selected components on your Windows 11 system.
After clicking "Finish," the XAMPP Control Panel will open. From here, you can start and stop Apache, MySQL, and other installed components. Make sure Apache and MySQL are running by checking the status in the control panel.
INSTALL PHALCON ON WINDOWS 11
To use Phalcon on Windows we need to download a DLL library. based on the xampp php version download the DLL library on phalcon GitHub release page.
**Step 1: Download Phalcon DLL library **
Find the Phalcon Library's Different versions releases in the below link ⬇️
Download Here ⬇️
Extract the downloaded zip folder
Cut the Phalcon DLL file and paste it into the below-mentioned path
C:\xampp\php\ext
Step 2: Configure PHP.ini File Load Phalcon library
Edit the php.ini File append at the end, and restart your webserver to load the extension.
extension=php_phalcon.dll
The PHP Info page shows this information
SETUP PHALCON - PROJECT IN XAMPP
Download or Clone the Project from GitHub ⬇️
Run the Project From Below Path ** C:\xampp\htdocs **
Do The Instructions mentioned in the README. md File.
Restart the server and The Magic ✨
OS VERSION : WINDOWS 11
PHP VERSION : 8.1.17
PHALCON VERSION : 5.0.1
I hope this article is helpful to all of you. follow and support 💜💜💜💰
Updated On Oct 10, 2023:
The last version of PHP 7, PHP 7.4, reached its end of life (EOL) on November 28, 2022. This means that PHP 7.4 will no longer receive security updates and could be exposed to unpatched security vulnerabilities. but it's time to embrace the future with PHP 8. The benefits in terms of performance, features, and security make it a worthwhile investment. Additionally, running the latest PHP version ensures that your web applications remain secure and up-to-date. Don't wait; start planning your migration to PHP 8 today.
Subscribe to my newsletter
Read articles from Dhanasekaran Ravichandran directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
Dhanasekaran Ravichandran
Dhanasekaran Ravichandran
Specializing in Laravel and Phalcon PHP | Pro in ERP Management, Accounting Software, and Database Management