Christopher Jones posted an excellent step by step howto upgrade PHP with Oracle Application Server on Linux. Pretty useful if you want to migrate to PHP5 for example with the release 3 or Oracle 10g. Personally my big worries is not with Linux, but with Sun Solaris, because I have here a quite old server with some funny limitations like the command line to type the PHP configure, and an old oracle version. Sincerely I can’t wait to move everything to linux and update oracle, and stop facing everyday old systems limitations.

The technical problem faced with building PHP is that the Oracle libraries for AS do not include header files. This can be overcome by linking PHP with Oracle Instant Client but care needs to be taken so that AS itself does not use the Instant Client libraries. Otherwise you will get errors or unpredictable behavior.