How To Install & Benchmark Linux Server Using GeekBench

Screenshot 2015-10-12 18.19.42

As like any server geek, I like to benchmark whatever new recipe I am cooking. Geekbench is one of many tools I use to measure performance. Geekbench is easy, not too much resource extensive, so you could run it even in live production server, which everything keep working as it is. But I would suggest you run those operation in your low hour.

Here is very simple guide to run Geekbench in your Linux server.


Continue reading…

Difference Between home_url() and site_url() in WordPress

difference between home_url() and site_url()

home_url() and site_url() in WordPress is very simple thing, but could be little bit confusing. Look at the image, then I described below –

From Setting -> General
1) WordPress Address (URL) = site_url()
2) Site Address (URL) = home_url( )

You could force rewrite that from wp-config.php too. Remembering is easy, its just opposite to what is says, so in Setting “Site Address (URL)” is home_url not the site_url as it looks from the words. Savvy?

Continue reading…

Weird W3 Total Cache Install Errors & Solution


If you are testing something new, there is always chance to break things, that’s why you should always have a fail-safe system. Thing is sometime situation could be a bit different. I decide to test “WP-Rocket”, so disabled W3 Total Cache. I will write a separate article about my experience with “WP-Rocket”. Soon, when I decide to revert back to W3 Total Cache, I started to get weird errors, here I will explain how I solved it.

Continue reading…

How To Secure Server After Heartbleed OpenSSL Vulnerability


Heartbleed is probably the worst thing ever happen to internet in whole. Its old news, all server and application should be already updated. If your server is not, here I will share very basic process to fix it, should not have more then 1 min. Yes, just 1 min and your server will be secured from Heartbleed Vulnerability.

Continue reading…

Solution For PHP Split Function deprecated Error

split() is a very common PHP function. Here I am not going to discuss its usage. But I will give a super simple solution for the error “Deprecated: Function split() is deprecated“. This error is annoying, and will happen to everyone using split() function. So, keep reading for the super easy solution.

Why We Are Getting This Error Suddenly?


preg_split(), which uses a Perl-compatible regular expression syntax, is often a faster alternative to split(). If you don’t require the power of regular expressions, it is faster to use explode(), which doesn’t incur the overhead of the regular expression engine.

And, apparently “split” is removed as of PHP 5.3.x, in the preparation for PHP 6.0.
Continue reading…

How To Find Server OS From SSH Commands

This is a very very basic tips for ssh command. When you enter into a new system or a old system of your own, and need find its Operating System (OS), version, hostname and that type basic info then this very basic command will help. Again its very basic, and everybody have interest or planing to work on server should know.

To Find very basic OS and Server info:

#uname -a\
This is the most basic and most working command. Some geeks guys explain it like their “first point of reflex” when they enter into a new server. This command works in most OS, like all builds of Linux, Mac etc.

Continue reading…

Google+ Cover Photos Updated With Super Big Size Image [Size & Dimension Details]

Google+ got updated with super big cover photos, local review tab and few other features, reported by Anatol in TTJ. Though Anatol himself did not updated his Google+ profile yet, but I did. Take a look at my new shiny super big cover photos at Google+ profile. Here I will discuss this new dimension in details.

Continue reading…

W3 Total Cache Version Update Causing Fatal Error (Solution)

I wrote about W3 Total Cache issue, which caused few issues including MaxCDN custom domain name not working. Frederick, the plugin author was fast enough to release updated version, but it caused a Fatal error like below, and here I will show a quick workaround to fix the issue.

Fatal error: Uncaught exception 'FileOperationException' with message '<strong>/public_html/wp-content/w3tc-config/master.php</strong> could not be created, please run following command:<br /><ul><li><strong style="color: #f00;">chmod 777 /public_html/wp-content/cache/tmp</strong></li><li><strong style="color: #f00;">chmod 777 /public_html/wp-content/w3tc-config</strong></li>' in /public_html/wp-content/plugins/w3-total-cache/inc/functions/activation.php:127 Stack trace: #0 /public_html/wp-content/plugins/w3-total-cache/lib/W3/ConfigWriter.php(159): w3_throw_on_write_error('/...', Array) #1 /public_html/wp-content/plugins/w3-total-cache/lib/W3/Config.php(71): W3_ConfigWriter->save() #2 /public_html/wp-content/plugins/w3-total-cache/lib/W3/CloudFlare.php(174): W3_Config->save() #3 /public_html/wp-content/plugins/w3-total-cache/lib/W3/Plugin/CloudFlare.php(52): W3_CloudFlare->update_ip_ranges() #4 /h in /public_html/wp-content/plugins/w3-total-cache/inc/functions/activation.php on line 127


Continue reading…