How To Install MySQL on CentOS 7

In a web browser, visit:   Locate the desired version, and replace it in the below command as an example wget   install the RPM rpm -ivh mysql57-community-release-el7-9.noarch.rpm   now u can use yum to install mysql server… Continue Reading

PHP create 1 pixel image

create transparent image PHP easily, use the below code : for PNG image : header(‘Content-Type: image/png’); echo base64_decode(‘iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAAA1BMVEUAAACnej3aAAAAAXRSTlMAQObYZgAAAApJREFUCNdjYAAAAAIAAeIhvDMAAAAASUVORK5CYII=’); for GIF image : header(‘Content-Type: image/gif’); echo base64_decode(‘R0lGODlhAQABAJAAAP8AAAAAACH5BAUQAAAALAAAAAABAAEAAAICBAEAOw==’);

upgrade from varnish 3 to varnish 4

refere to the below table to know what exactly to change on your default VCL file. V3 V4 {bereq,req}.backend.healthy std.healthy({bereq.backend,req.backend_hint}) {bereq,req}.request {bereq,req}.method bereq.* in vcl_pass and vcl_miss req.* {beresp,obj,resp}.response {beresp,obj,resp}.reason beresp.storage_hint {client,server}.port std.port({client,server}.ip) error code response return (synth(code, response))… Continue Reading