Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Kevin van Zonneveld's Blog:
Prepare for PHP 5.3
Jul 30, 2009 @ 17:25:33

In this new post to his blog Kevin van Zonneveld looks to help you make the transition up to the latest version of PHP (5.3) in a Ubuntu Jaunty installation (including a few things to specifically watch out for).

PHP 5.3 is a big leap forward for PHP and brings of a lot of neat features. However, big leaps can also mean big changes and potentially big breakage when it comes to backwards compatibility. I did some experimenting with running a big legacy application and a CakePHP application on PHP 5.3 and would like to share my findings with you. Here are a couple of tips to prepare your code for PHP 5.3

He mentions things like:

  • Updates to short tag support
  • Deprecation warnings
  • MySQL driver support
  • Extensions
tagged: php5 prepare update ubuntu jaunty

Link:

Matthew Turland's Blog:
Building PHP-GTK with Cairo Support on Ubuntu Jaunty
Apr 27, 2009 @ 15:28:06

Matthew Turland has posted a guide he created following his own process as he worked to compile PHP 5.3.0RC1 with PHP-GTK/Cairo support on a Ubuntu (Jaunty) installation.

The process was a bit arduous, as Ubuntu apparently has a rather "interesting" automake package, so I thought I'd document it here for anyone who might be interested in repeating the process. [...] I'm assuming here that you want to use as many available Ubuntu packages as is feasible, aside from maybe PHP itself, in order to minimize the amount of manual compilation necessary.

He works through the steps that include installing several packages (via apt-get), compiling PHP to work with PHP-GTK, compiling and phpize-ing the Cairo extension and including that into the php.ini for the local installation. There's even a quick test script (a clock) you can run to see if all it working correctly.

tagged: phpgtk cairo ubuntu jaunty php5 install package tutorial

Link:


Trending Topics: