Pakistani Finance Ministry uses stolen blog design!

Pakistan finance ministry blog

Sometime back there was a story floating around cyberspace about how the British PM’s blog used a design without crediting the original author and thus violating copyright laws. Now it turns out that the Pakistani finance ministry wants to try their own hand at blogging and its gone and done a similar misdeed by using a design without crediting the original author.

Continue reading

Reduce CPU load with Alternative PHP Cache

alternative php cachePHP is by far the most popular scripting language for dynamic web pages but it is not the most efficient language. Each time a PHP page is accessed it has to be:

  • Parsed by the interpreter
  • Converted into intermediary format called opcode
  • Converted into machine code for your server’s CPU to execute it

If the same script is accessed 100 times these steps are repeated a 100 times. To avoid this repetition and waste of server resources you can use the Alternative PHP Cache or APC.

APC is a PECL extension that caches frequently accessed PHP files code in opcode format for faster execution thereby reducing CPU load on your web server. In this guide I write about how to install and configure APC.

Continue reading