I was looking to try and work with Lumen to create a API frontend for few services we have, and the problem I had was to make Laravel/Lumen to work with Informix DB. I...
Although CloudVision runs on CentOS 7 and uses nginx as a front end for the services, you can’t just use letsencrypt to issue a cert, as it seems like CV will overwrite it each time....
This is a more specific use case of running GUI application with Docker, the procedure is pretty simple (and most option are common for most GUI application), You mount the UNIX socket for the...
This is a short story of how Ansible and SSH (using the default ControlMaster path format) bite me. Lets take this network layout for example, where we have the same IP behind different machines....
I need to manage several insensate of WordPress installations, some of them are in Hebrew and one in Arabic, and when using wp-cli to manage the installation, e.g when running plugin update, wp-cli will...
TL;DR Set your IDE to listen for incoming connections On the CLI set the session key,
Set XDEBUG configuration (can be set as environment variables or in-line parameters)
php -dxdebug.remote_enable=1 -dxdebug.remote_mode=req -dxdebug.remote_port=9000 \
-dxdebug.remote_host=127.0.0.1 -dxdebug.remote_connect_back=0 /path/to/script.php
# Using an environment variable
export XDEBUG_CONFIG="remote_enable=1 remote_mode=req remote_port=9000 remote_host=127.0.0.1 remote_connect_back=0"
# Next, start our script like we would normally do:
PS. set remote_host IP...
I needed to have comment in a PHP ini file where the prefix for commenting is ; , This is something I didn’t find in the documentation for the comment filter, so I looked...
This is a personal itch I had to scratch, instead waiting for our accountant to update the exchange rates in SBO to allow us enter new orders, I wrote a small PowerShell script to...
Some Background My application runs on a CentOS machine with Apache 2.4 and PHP 5.6 (from Remi’s repo), and I’m using PHP-FPM (via Apache proxy option) to handle the php files (not the Apache...
This is a small snippet I found to speed up importing MySQL dumps, it’s is almost as fast as coping the DB files directly. Pre INSERT Put the commands at the top of the...