Facebook Twitter Instagram
    TecAdmin
    • Home
    • Ubuntu 20.04
      • Upgrade Ubuntu
      • Install Java
      • Install Node.js
      • Install Docker
      • Install LAMP Stack
    • Tutorials
      • AWS
      • Shell Scripting
      • Docker
      • Git
      • MongoDB
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    Home»PHP Framework»How To Install Phalcon PHP on Debian 9 (Stretch)

    How To Install Phalcon PHP on Debian 9 (Stretch)

    RahulBy RahulSeptember 8, 20182 Mins ReadUpdated:September 18, 2018

    Phalcon is a full-stack PHP framework. It provides ready to use classes and functions. Phalcon provides the lowest overhead for MVC-based applications. This tutorial will help you to install Phalcon PHP framework module on your Debian 9 systems.

    Prerequsities

    First of all, you need to install some prerequisites packages in your system using the following commands.

    sudo apt install ca-certificates apt-transport-https 
    

    Then install PHP 5.6 or later version with required modules.

    wget -q https://packages.sury.org/php/apt.gpg -O- | sudo apt-key add -
    echo "deb https://packages.sury.org/php/ stretch main" | sudo tee /etc/apt/sources.list.d/php.list
    
    sudo apt update
    sudo apt install php php-curl php-gd php-json php-mbstring 
    

    Install Apache2

    sudo apt install apache2 libapache2-mod-php
    

    Install MySQL

    sudo apt install mysql-server php-mysql
    

    Install Phalcon PHP Module

    PHP Phalcon framework is available as of PHP module. You can install it from the same repositories used for PHP installation.

    Run the following command to install:

    sudo apt install php-phalcon
    

    Verify Phalcon

    Before proceeding for development, make sure Phalcon PHP framework has been successfully installed with your PHP.

    Create a info.php on your web document root with following content and access it in browser.

    <?php
      phpinfo();
    ?>
    

    You will see output like below.

    PHP Phalcon Setup on Ubuntu

    Create Project with Phalcon

    As you have successfully installed Phalcon PHP module to your system. Let’s visit below URL to install Phalcon Developer Tools for creating a project and add components in the project.

    https://tecadmin.net/creating-project-with-phalcon-developer-tools-in-linux/

    phalcon phalconphp php-falcon
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp
    Previous ArticleHow To Install OpenSSL on Windows
    Next Article How To Install Laravel on Debian 9

    Related Posts

    How To Set Up Laravel on Ubuntu 21.04 & 20.10

    Updated:July 15, 20214 Mins Read

    How to Enable Debug Mode in Laravel

    Updated:May 28, 20211 Min Read

    How to Remove Package from Laravel (Composer)

    Updated:July 15, 20211 Min Read

    How to Install Laravel 9 on CentOS 8

    Updated:February 16, 20224 Mins Read

    How to Install CodeIgniter on Ubuntu 20.04

    Updated:August 11, 20214 Mins Read

    How to Install Laravel on Ubuntu 20.04

    Updated:June 7, 20214 Mins Read

    Leave A Reply Cancel Reply

    Recent Posts
    • How to Install Sublime Text 4 on Ubuntu 22.04
    • How to Enable / disable Firewall in Windows
    • How to Install JAVA on Ubuntu 22.04
    • Switching Display Manager in Ubuntu – GDM, LightDM & SDDM
    • Changing the Login Screen Background in Ubuntu 22.04 & 20.04
    Facebook Twitter Instagram Pinterest
    © 2022 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.