Updated 2007-01-28. I have updated this tutorial to simplify the process and make it more clear. This post is intented to help those trying to install PHP with Oracle support on FreeBSD. I’ll just note that this setup was tested and implemented in FreeBSD 6.2-STABLE. I also assume that your ports location is /usr/ports. 1. Install necessary FreeBSD ports Oracle instant client: /usr/ports/database