HHVM with Opcache

How to use HHVM with Opcache? HHVM compiles PHP-code in a different way and cannot make use of Opcache. So it’s pretty normal you will not be able to install HHVM with opcache. Opcache and HHVM don’t go together. HHVM can utilize APC HHVM can be configured to use APC caching instead. Consider the following…

VST Plugins

Do VST Plugins contain Viruses or Malware?

The .dll file is the VST Plugin I am doing music production using Image-Line’s Fruity Loops Studio. Just like all major digital audio workstations (DAW), it is capable of loading DLL files as plugins called VST plugins (Virtual Studio Technology). We know DLL files generally contain executable code, and executable code may contain viruses and…

Best PHP, HHVM and MongoDB Source for Debian Jessie

Just installed Debian 8. I’m using php5-cli for cronjobs, HHVM for webpages (using fcgiwrap) and MongoDB for various collections. Here are my current source for Debian Jessie as bash commands, offering org sources. I included pin preference files for apt to set priorities, which source to use for which package.

How to generate a new Diffie-Hellman Group

Recently there has been a new hack to break secured traffic when using the Diffie-Hellman key exchange in combination with a weak group param. To generate a new one, use this command:

To include it in Apache, use

…or nginx

More information can be found on this page: https://weakdh.org/sysadmin.html

nginx / php-fpm stops working after new update

NGINX on Debian ships with new configuration files I just updated the nginx package which delivered new configuration files and caused the php-fpm worker to fail. There was no error message in none of those files /var/log/nginx/error.log, /var/log/php-fpm.log and /var/log/syslog . Restarting nginx did not help. When I noticed HTML files got served correctly but…

Image by Gulshan Sirohi

Is Website Traffic bought on fiverr real?

How do people sell traffic on fiverr?? Easy. I tell you the trick. They keyword is “Free Website Monitoring”. Those are tools which allow you to enter an URL and let them request the website every minute. There are two modes of requests, one simply fetches the HTML, but the other fetches the whole website…

Notepad++ hacked by LizardSquad

Today, the famous hacker crew “Chameleon Liberty”, also known as #LizardSquad, hacked the Notepad++ website to demonstrate the power of Lizards and Chameleons. The lizard-chameleons demand a list of claims: Here are our claims: Remove Chameleon logo from your shitty product Release all domestic Chameleons Stop exploiting Chameleons in the movies even if they are…

PHP magic: use it right, or don’t use it at all

Consider the following code snippet:

Explanation Although we have text in the output, PHP tells us the variable is empty. What’s wrong? When using magic in PHP, you must be aware of all of its pro’s and con’s and what is going on behind. ‘$this->bar’ is a magic variable in the example. isset or…

Install PHP Mongo extension on CentOS

MongoDB client on CentOS / RedHat The Mongo client can be installed through yum, simply add the MongoDB repository as described in the official manual. I already explained this on other Linux distributions, here we go for CentOS and RedHat (maybe Slackware, too). > http://docs.mongodb.org/manual/tutorial/install-mongodb-on-red-hat/ PHP Mongo extension To install the Mongo extension for PHP,…


PHP: get min value greater than zero

Use this PHP code function to pass an array with values and return the lowest value (min) which is greater than zero (not null, not 0, ignore zero and strings). Works with int and float values.