Category Archives: Linux

Install Gearman Module to Ubuntu Xenial with PHP 7

The Gearman PHP module is the last piece of dependency missing in our stack before we can consider moving to PHP7. I’m currently testing Ubuntu 16.04 Xenial on PHP7 and unfortunately, the gearman module is not yet available on official … Continue reading

Posted in Linux, php | Tagged , | 2 Comments

Application running on Docker container – Part 2 – Database

This is a continuation of our previous post regarding a simple application running inside a Docker container. This post focuses on the database part of the application stack. Yes, we run the database in a separate container! MariaDB I’m using … Continue reading

Posted in Database, Linux, Web Development | Tagged , , | Leave a comment

A sample application running on Docker container – part 1

I’ve been using Docker for several months on my development and production environments. With Docker, I’m able to run multiple PHP applications, Django apps and RabbitMQ messaging containers simulteanously without having to deal with software package conflicts. I’d like to … Continue reading

Posted in Linux, php | Tagged , | 1 Comment

CentOS 7 + SELinux + PHP + Apache – cannot write/access file no matter what

I’ve spent 2-3 hours pulling my hair trying to setup a supposed to be simple PHP/MySQL web application on an Amazon EC2 instance running on CentOS 7. Apache logs keep saying that it can’t write to file due to permission … Continue reading

Posted in Linux | Tagged , , , , | 47 Comments

PHPStorm SFTP to a Linux machine

I tried setting up PHPStorm on Windows 8.1 with remote files stored on a Linux VM via VirtualBox bridged connection. However,upon trying to setup SFTP, I got this error: “Algorithm negotiation fail”. It seems related to SSH rather than specific … Continue reading

Posted in Linux, SSH | 2 Comments

Nginx – cannot upload regular sized files – permission denied

I’m having this weird error in nginx where it fails to upload regular sized images like 200KB up or so. It uploads fine when the is too small. Below is the exact error. To clarify, upload works on very small … Continue reading

Posted in Linux | Leave a comment

Google Chrome 41 SlackBuild script error

Tried to upgrade my Google Chrome browser in Slackware 14.1 using the provided SlackBuild script but it fails with the latest debian package provided by Google. It turns out that I need to update the script to make it work … Continue reading

Posted in Linux, Slackware | 1 Comment

Docker on Slackware Linux on a VPS

It has been a week since I have been poking around Docker in my laptop (Slackware VM) and in my Slackware VPS. It works well in my laptop but not in VPS. It turns out that a simple reboot of … Continue reading

Posted in Linux, Slackware | Leave a comment

Slackware – Add Swap After Installation

I just got a Slackware Linux VM and everything was setup and works well until I realize that I don’t have enough swap space. Swap partition should be ideally twice the size of RAM. I just re-created the partition and … Continue reading

Posted in Linux, Slackware | Leave a comment

KDE4 Taskbar Disappeared

When I arrived at the office I noticed that the taskbar is missing in my KDE4 Fedora workstation. Good thing is that I have a KDE konsole application still left running. I didn’t realize early that the solution to revive … Continue reading

Posted in KDE, Linux | Leave a comment