preload preload preload preload

mysql-proxy: error while loading shared libraries: libmysql-proxy.so.0 or libmysql-chassis.so

Getting the below errors: $ ./agent/sbin/mysql-proxy -V mysql-proxy: error while loading shared libraries: libmysql-chassis.so.0: cannot open shared object file: No such file or directory mysql-proxy: error while loading shared libraries: libmysql-proxy.so.0: cannot open shared object file: No such file or directory The error ...
1

URL Redirecting (301,302) in Varnish

There is no straight forward method for 301/302 URL redirection as we did with rewrite rule. But there are some situations where we need to redirect a URL on a host to some URL on different host. In this situation we need to use 301/302 redirection.  There are two ways we can implement this. First method is to use  set req.http.host ...
0

How to Log or mail Errors in PHP Code

There are a number of things that can go wrong in code and they bound to through errors, even if you've tested them hundreds of times. PHP provides some error handling methods such as error_reporting(), set_error_handler(), error_log(), restore_error_handler() for handling errors in the PHP code. error_reporting - Sets which PHP errors ...
0