Hello,
I have just written 2 bash scripts for the installation and configuration of Apache2, PHP5, Oracle Client v10.2 and OCI8. The scripts were tested on Linux Ubuntu 8.04.1 Server and it seems they also work on some previous versions of Linux Ubuntu and Kubuntu Server and Desktop Editions.
The first script OracleViaPHP.sh downloads, installs and configures all the needed packages. It can be found here
http://www.danilovizzarro.it/script/OracleViaPHP.sh
The second script TNSconnect.sh updates the tnsnames.ora file and creates a PHP test page to connect the Oracle DB. It can be found here
http://www.danilovizzarro.it/script/TNSconnect.sh
In order to have them working it's required to download the oracle client basic lite and the SDK in the /root directory.
A step-by-step tutorial can be found here
http://www.danilovizzarro.it/?p=7
I'm curious to know what you think of it.
BR
DV