Category: Hosting Server

Enhanced Security HTTP Headers Addition

I’ve recently discovered an opportunity to add enhanced security via HTTP headers, as most big sites do. You can test your headers information with developer tools in any modern browser from the Network tab. There is also a good site … Continue reading

Posted in Hosting Server | Tagged | Leave a comment

Fixing Errors on Old Sites After Upgrading PHP Version to PHP5.4

Upgrading php version could be a painful process if you have many old sites, using wrong syntax for includes etc. Here’s how to overcome such errors, based on my experience when I’ve upgraded version PHP5.3 to PHP5.4 Continue reading

Posted in Hosting Server | Tagged | Leave a comment

Site Encoding Siddenly Went Wrong, Response Header Shows Wrong Encoding

Default charset is now set to iso-8859-1 in PHP default settings. The HTTP header has a higher precedence than the in-document charset declaration, therefore meta tags for each page are getting overridden by HTTP response header. Just remove default charset from WHM PHP editor settings, make it empty as it was before, if you got many old sites with different encoding. Continue reading

Posted in Hosting Server | Tagged | Leave a comment