Yesterday I finally got round to upgrading one of my servers to the latest Ubuntu LTS - 14.04 Trusty Tahr. There are a few "gotchas" with the upgrade that I might cover in a separate post, but the biggest one isn't Ubuntu's fault or PHP's fault. Zend, for some odd reason, haven't released a compatible version of their loader for any PHP version of the 5.5* series. … [Read more...] about Zend Loader Not Available For PHP 5.5
Ubuntu
Ubuntu Grub Error
More for myself than anyone else .. While cleaning up the kernels and doing some updates on an Ubuntu machine you might get this error: you may need to re-run your boot loader[grub] Not 100% clear to me, but the solution is pretty easy. As root or using sudo run: update-grub Problem solved! … [Read more...] about Ubuntu Grub Error
Working With SuPHP Permissions and Ownership
I switched one of my web servers over to use SuPHP a few weeks ago, as it's a lot more secure. However moving from mod_php to suPHP does require a small bit of tweaking of files and directories. Under mod_php you can easily end up with a lot of files and directories being owned by the Apache user, which on Debian / Ubuntu is "www-data". You'll need to change the ownership … [Read more...] about Working With SuPHP Permissions and Ownership
Ubuntu PHP Bug
I upgraded a couple of servers to the latest version of Ubuntu a couple of days ago and noticed something really odd when checking the running processes post-upgrade. For some bizarre reason there were literally thousands of "fuser" processes running. Odd, but I didn't think too much of it, as they disappeared after a reboot .. or so I thought .. This morning I … [Read more...] about Ubuntu PHP Bug
Checking Which Ports Are Doing What On Linux
From time to time it's handy to be able to see exactly which process is using a particular port on a Linux system - especially if you're debugging issues. This command will let you see exactly what's going on - you simply change the port number: lsof -i:80 If you need the standard port numbers you can check this list … [Read more...] about Checking Which Ports Are Doing What On Linux