Versions of PHP in Ubuntu

If you have to maintain an open source project written in PHP, like we do with Chamilo at BeezNest, you’ll have to test your software on multiple versions of PHP to make sure of how well your code is supported…

More Details
Configure HP LaserJet 100 colorMFP M175nw scanner on Ubuntu

If you have bought an HP LaserJet 100 printer and have it connected on the network, but somehow fail to scan from it, here’s how: sudo apt-get install hplip (chances are you already did that, but in the worst case…

More Details
Benchmark: dirname(__FILE__) vs __DIR__ in PHP

dirname(__FILE__) and __DIR__ give exactly the same result in PHP, although one (__DIR__) is evaluated at compile-time, while the other (dirname(__FILE__)) has at least part of it (the function) evaluated at execution time. Ever wondered what the difference is, in…

More Details
MySQL and MariaDB innodb_file_per_table

For those of you pushing your MySQL instances to higher levels, you’ll have realized at some point that all InnoDB tables share their indexing space into a single file (ibdata1, usually). This has several very bad outcomes: the ibdata1 file…

More Details
Using php5-memcached to store sessions on distributed servers

This article is an extension of the previous article about storing sessions in Memcached with PHP. Using Memcached for sessions storage is generally a matter of speed (storing them in memory is faster than on disk) and of scalability (using…

More Details
Using Chamilo juju charm to setup a dev environment on Digital Ocean

If you’re in a hurry/on speed, know this: this procedure is slightly more difficult (so longer) than installing the charm on Amazon you can skip directly to “Installing Juju” if you already have juju installed, you can skip to the…

More Details
Howto: Configuring session expiry time in Chamilo

Note: this article was originally written for Chamilo 1.9 but it is also valid for all versions 1.10 and 1.11. We seldom receive a request from users of Chamilo LMS saying their sessions are cut in the middle of their…

More Details
How to not write a condition for code readability

Sometimes you find a perl in some code and it might take you a while to understand. In the sessions management code of Chamilo, I found this the other day, then decided to leave it for later because I was…

More Details
Intercontinental fiber channel cables

Ever wondered where internet (and general telecommunications) cables were laid out in the ocean? This map, available on Level3 website, could help you out. This could help you out understanding, for example, how much delay you can expect between Peru…

More Details
Creating new tasks in chamilo course-sessions

In the category of little scripts that can make your life easier when managing huge Chamilo portals, this is a little one that creates one tasks-folder called “ALP” for the “Assignments” (work) tool in each active course for a portal…

More Details