Tags: php

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.4Continue 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