How To Install Phalcon PHP On XAMPP For Windows 11

How To Install Phalcon PHP On XAMPP For Windows 11

Easy Steps: Set up Phalcon in XAMPP on Windows 11 to Boost Performance

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.

Phalcon-Documentation

Github-Repository

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.

XAMPP-Official

Download XAMMP ⬇️

XAMPP-Download

**Step 2: Run the Installer **

The Downloading will take a couple of minutes after that run the downloaded installer in your system.

install-xampp-on-windows-11-run-the-installer

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.

setup-the-components-in-xampp-in-windows-11

Step 4: Installation Process

  • Choose the installation directory for XAMPP. The default directory is usually "C:\xampp, but you can change it if needed.

    setup the xampp directory

  • 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.

    control apache and mysql using xampp

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-phalcon-releases

Download Here ⬇️

download-phalcon-v5.0.1

  • 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

    phalcon-dll-configuration-in-xampp

SETUP PHALCON - PROJECT IN XAMPP

Download or Clone the Project from GitHub ⬇️

download-phalcon-project

  • Run the Project From Below Path ** C:\xampp\htdocs **

  • Do The Instructions mentioned in the README. md File.

  • Restart the server and The Magic ✨

phalcon-xampp-skeleton

💻
System Information :
OS VERSION : WINDOWS 11
PHP VERSION : 8.1.17
PHALCON VERSION : 5.0.1
🔗
Reference Links :

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.

📱
Connect With Me:
Gmail linkedin Instagram Whatsapp

Did you find this article valuable?

Support Dhanasekaran Ravichandran | PHP Blogs by becoming a sponsor. Any amount is appreciated!