PHP 5.5 will no longer support Windows XP and 2003. Those systems are around a decade old, so PHP is pulling the plug on them.
It was already mentioned on the PHP 5.4 release changelog. It makes sense, but I’m sure it will cause some issues with organisations who have not been paying attention. I would encourage all developers to sign up for the PHP Announcements mailinglist.
If you are looking for guidance on how how to format your code, you could do worse than to base it this coding standards styleguide.
via WordPress Coding Standards
For those that do not follow me on twitter (@pacifika), I’ve created a patched version of Textile, the html generator alternative to Markdown, to make it easier to use in CodeIgniter projects. I have provided the patch and patched Textile on support forums of both projects.
[Patch] CodeIgniter Helper class patch for classTextile.php · Textpattern CMS Support Forum.
After patching, you can just use Textile like this:
$text = Textile("Dude this is *my* code!");
For more information read the post on the forums!
Our php.log was nearing 550MB so I was investigating how to rotate the logs. The easiest solution seems to be using logrotate (ubuntu linux) with a script like follows.
sudo nano /etc/logrotate.d/php5
#keep 14 days
You can check the configuration by running
logrotate --force /etc/logrotate.d/php5