Tag: PHP

Aug 20

Pro Tip: Upgrade to PHP7

Pro Tip: Upgrade to PHP7 As you probably figured out, we run a WordPress site which it in itself runs on PHP. Many complaints have surface around the performance of php 5.x and even hhvm came out as a result of that. We had a lot of interest in hhvm, but we never got it …

Continue reading »

May 17

Resolved: [hphp] Warning: Parameter 1 to W3_Plugin_TotalCache::ob_callback() expected to be a reference, value given in /wp-includes/functions.php on line 3282

Resolved: [hphp] Warning: Parameter 1 to W3_Plugin_TotalCache::ob_callback() expected to be a reference, value given in /wp-includes/functions.php on line 3282 As you probably know (otherwise you would probably not be here), after deciding to move form PHP to HHVM, if you are running a WordPress site and use W3 Total Cache you will encounter an endless …

Continue reading »

Sep 18

Resolved: Blank pages when using NginX with php-fpm

Resolved: Blank pages when using NginX with php-fpm As of late I have been a bit busy so keeping up with updates to the web server has been pretty much neglected. Because of that I decided to switch to the nginx.org supported distribution to get the latest updates although that means a distribution without any …

Continue reading »

Apr 10

Resolved: Ubuntu php5-fpm throws error “unknown instance” on service reload

Resolved: Ubuntu php5-fpm throws error “unknown instance” on service reload Rather short post this time around. It turns out there is a known issue that when you perform a service reload on php5-fpm you might encounter yourself with a bit of a problem. The use of reload is meant to result in a reloading of …

Continue reading »

Mar 30

How to: Install and use MySQLTuner to Optimize your MySQL configuration / performance

How to: Install and use MySQLTuner to Optimize your MySQL configuration / performance I am writing this post mostly because there is in my opinion a much better way to install MySQLTuner on your machine that the usual apt-get install MySQLTuner. As many of you would probably already know MySQLTuner is a well known and …

Continue reading »

Mar 12

Resolved: Google Publisher Plugin error: “Plugin activation failed. Your WordPress installation doesn’t meet the minimum requirements.”

Resolved: Google Publisher Plugin error: “Plugin activation failed. Your WordPress installation doesn’t meet the minimum requirements.” When trying to install Google’s Publisher WordPress Plugin you may encounter the following error: Plugin could not be activated because it triggered a fatal error. Plugin activation failed. Your WordPress installation doesn’t meet the minimum requirements. « Back This …

Continue reading »

Feb 19

How to: Move the header widget down in Graphene to place your Ads closer to the post

How to: Move the header widget down in Graphene to place your Ads closer to the post If you’ve visited our site before you might remember how our Google Add for the header was all the way up overlapping the good old banner. If not then you are like most users; Advertising that is not …

Continue reading »

Feb 13

How to: Create a php file to check on the status of a Drupal Server

How to: Create a php file to check on the status of a Drupal Server I was working on creating a php status file that would indicate if a server was able to handle client requests or not. The idea is that you can have a loadbalancer check periodically those status.php files to see if …

Continue reading »

Jan 17

Resolve: Nginx – 413 Request Entity Too Large

Resolve: Nginx – 413 Request Entity Too Large When working with WordPress you might come across a message that indicates HTTP Error when uploading any media to your site. Obviously there are tons of things that could cause this error, like the memory you have allocated to PHP, or even some NginX configuration might cause …

Continue reading »

Dec 21

Resolve: Upstream sent too big header while reading response header from upstream when using NginX PHP FPM

Resolve: Upstream sent too big header while reading response header from upstream when using NginX PHP FPM When working with NginX you will be using an upstream PHP FPM server. Because of the way NginX works it will treat this upstream server as a proxy server which you will use to server PHP requests. One …

Continue reading »

Load more