Migrated my busy PHP/Drupal website last night from one VPS hosting provider to another. In the process I am also upgrading the operating system from Debian 5 “Lenny” to Ubuntu 10.04 “Lucid Lynx”. A bad move especially when I have not tested the new platform thoroughly — with new stacks such as MySQL 5.1 (from […]
A few days ago I spotted this forum post on Linode Forum — someone’s Nginx to PHP FastCGI set up kept on throwing 502 Gateway Error after a few days. I have a mystery and I’m not sure how to solve it. My 360 Linode is running several WordPress-based sites using nginx. Everything is great, […]
Most interpreted programming languages parse source files and translate/compile them into opcode/bytecode that are suitable to be executed in the virtual machine. Python for example, dumps the compiled opcode into the .pyc or .pyo files so when the same file is imported again in the future, no parsing and compilation needs to be done. On […]
Being able to run PHP scripts and applications is probably one of the most obvious feature in shared web hosting today, but the actual process to make it fast and secure at the same time might not be that trivial. I am actually writing this post in response to this thread at WHT, where web […]
I had a problem with Lighttpd and PHP on the default Gentoo install. The configuration that comes with Gentoo, and the “official recommendation” use bin-ath in the mod_fastcgi to point to PHP’s CGI executable.