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

Oracle Technology Network:
Installing PHP 5.2 for Oracle on Mac OS X 10.5 (Leopard)
Jan 16, 2009 @ 17:13:02

Tony Bibbs has posted a new tutorial to the Oracle Technology Network website for all of the Oracle & Mac users out there - Installing PHP 5.2 for Oracle on Mac OS X 10.5 (Leopard).

If you've ever attended a PHP conference, you might have thought that Apple was a sponsor based on all the Mac laptops you saw. Many of the PHP developers toting Macs are running Linux as a virtual machine but more and more PHP developers work natively on the Mac. Recognizing this fact, Oracle has made it downright easy to develop PHP/Oracle applications on the Mac. In this guide I'll show just how easy it is to get your Mac setup to build Oracle-based PHP applications.

His method requires that you have access to a server already running Oracle (even the Express Edition will do), XCode and either Fink or MacPorts (optional). His setup is to use the Oracle installation inside of a virtual machine to get the needed libraries from to build PHP correctly. He even includes some screenshots of the Parallels installation of Kubuntu and some test code to ensure things are working as they should.

tagged: oracle mac osx install parallels virtualmachine kubuntu tutorial

Link:

Matthew Turland's Blog:
Unit Tests and Code Coverage with PHPT
May 26, 2008 @ 12:54:33

Matthew Turland has posted about some of his experience with PHPT tests with PHPUnit.

Recently, I wrote some for a project and realized that I wasn't aware of how to generate code coverage reports. Many thanks to the very helpful patrons in the #pear channel on EFNet for helping me to get this working.

He show his setup process (on Kubuntu) - grabbing the PEAR package, installing it and how to get a runner script to integrate the PHPT testing into PHPUnit.

tagged: unittest phpunit phpt kubuntu pear package codecoverage

Link:


Trending Topics: