Sunday, March 20th, 2016 10:06 pm GMT +2
Sometimes you need to run legacy php code on ARM processors. Since php 5.2 was released 2 November 2006 at the time there were not a lot of powerful ARM solutions capable of running full-fledged websites. However, right now there is a possibility to run pretty heavy code on modern ARM platforms and a lot of linux distros support ARM architecture. There is even dedicated ARM cloud hosting.
In this post we’re going to fix the inability to run PHP in the FPM(Fast Process Manager) mode which is an absolute requirement if you want to run production websites.
Continue reading ‘Running php 5.2 fpm on ARM processor’ »
Friday, August 12th, 2011 02:44 pm GMT +2
Having previous experience in writing PHP code could potentially lead you to hours of debugging in Python.
Consider the following simple example in PHP:
PHP
$s = "0";
$my = (bool) $s;
var_dump($s);
var_dump($my)
Continue reading ‘Python vs. PHP duck typing’ »
Friday, April 8th, 2011 06:59 pm GMT +2
Ever wanted to integrate Google Spreadsheets with your application? This post describes a simple way of how you can do it using simple php script.
Step 1. Create sample google spreadsheet with random data
Here is how it might look like:
Continue reading ‘Make use of Google Spreadsheets in your php scripts’ »