/usr/local/lib/libz.so.1: no version information available – Working Fix (Directadmin Server)

Sometimes when you need to install something that interacts with libz, you might get the following message (I have faced it while installing git): git: /usr/local/lib/libz.so.1: no version information available (required by git) Solution is simple – most probably you already have a library with right version, just the symbolic link to it is wrong. First of all,… Read More »

Setting Timeout Value for file_get_contents in PHP

Sometimes you need to avoid using cURL for getting external web content for any reasons. You’re lucky that PHP has some built-in functions that allow you to get data from the Web without cURL. But if you are using default values, there is no option to set the timeout for a operation and it’s sometimes annoying. In order… Read More »