25.1 C
Texas
angeloma
Senior Writer and partner

How to install KumbiaPHP framework on Debian 10?

Hello, friends in this post, I’ll show you how to install KumbiaPHP on Debian 10.

KumbiaPHP is a simple and light PHP framework under the BSD license, that is, we can use it for our personal projects. The framework is used by many Spanish speaking people because it’s a Latin product. It has a documentation in English, in addition to current communication channels such as mailing lists and IRC.

Some advantages of installing and using KumbiaPHP

Under the premise of shortening development times, KumbiaPHP is a framework with the characteristic of being “Zero Config”. In other words, after you unzip it, you can start working. It’s that simple.

- Advertisement -

Clearer, more natural codes with fewer errors thanks to Helpers and other patterns to reduce the use of other languages.

Another very favorable aspect is that the learning curve is very short.

The framework has as its main premises to be easy to learn, simple to use, open source and everything without sacrificing quality and robustness. Supports 4 database handlers such as MySQL, PostgreSQL, SQLite, and Oracle, which ensures that you can develop without worrying about the compatibility of your database.

So, let us do it.

Install KumbiaPHP on Debian 10

KumbiaPHP is not very demanding. It only requires three things:

  • A web server with rewrite support.
  • PHP 5.4+.
  • Supported Database Manager.

This indicates that it can be installed in Windows or MacOS.

So, the first thing we’ll do is install a LAMP server on Debian 10.

How to install LAMP on Debian 10?

Once everything is in order, we will proceed to download and install KumbiaPHP.

First we will download it:

:~$ wget -c https://github.com/KumbiaPHP/KumbiaPHP/archive/master.tar.gz
1.- Download KumbiaPHP on Debian 10
1.- Download KumbiaPHP on Debian 10

Once the download is finished, unzip it and move it to the Apache root directory. In this case it is /var/www/html/.

:~$ tar -xzvf master.tar.gz
:~$ sudo mv KumbiaPHP-master/ /var/www/html/kumbia/

Then, change the folder permissions so that they can be interpreted correctly by the browser.

:~$ sudo chown -R www-data:www-data /var/www/html/
:~$ sudo chmod 755 -R /var/www/html/

Now we have to make some changes for the browser rewrite the KumbiaPHP URL. This step is vital. For this tutorial, I’m using Apache. So first we modify the configuration of the default enabled site:

:~$ sudo nano /etc/apache2/sites-enabled/000-default.conf

And we added / modified the following:

<Directory "/var/www/html">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
2.- Configuring Apache for KumbiaPHP
2.- Configuring Apache for KumbiaPHP

Save the changes and close the file.

Now enable Apache’s rewrite module:

:~$ sudo a2enmod rewrite
:~$ sudo systemctl restart apache2

Finally, open your favorite web browser and go to http://localhost/kumbia. If you see the following, then everything is well done.

3.- KumbiaPHP ready on Debian 10
3.- KumbiaPHP ready on Debian 10

So, KumbiaPHP is correctly installed. Note that it is a Latin framework, but easy to learn for everybody.

Some links to learn more about KumbiaPHP

Documentation in English

GitHub Site

Conclusion

In conclusion we can say that web development tools are to reduce coding times. KumbiaPHP stands as a solid proposal for personal work and serious projects.

KumbiaPHP is quite easy to install and practically ready for work. While it is true that compared to other frameworks this has some shortcomings, the truth is that it also becomes very comfortable to work and maintain projects with it.

Please share this post and join our Telegram channel.

- Advertisement -
Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

2 COMMENTS

  1. Hi Angeloma,
    Nice post! I’m a KumbiaPHP user for years. I’m working with the core team, and they adviced me to use the new feature app/bin/phpserver. If you’re a Linux user, and you’ve installed the php-cli you can use it making the call from the default/app folder as bin/phpserver. Now you got KumbiaPHP on 0.0.0.0:8001, ready to test, and without Apache 🙂
    Cheers!

LEAVE A REPLY

Please enter your comment!
Please enter your name here



Latest article