Oracle Application Server 10g Release 3 allows you to run PHP and J2EE applications on the same server
Oracle includes PHP d Application Server 10g Release and it allows you to use the same server for J2EE and PHP applications.
PHP is activated by default. The root of the HTTP server in Oracle is here:
$ ORACLE_HOME / Apache / Apache / htdocs ')
Files with .php or .phtml extensions in this directory will be processed using PHP. Files with extensions .phps will be displayed as formatted source code.
Application Server (AS) version 10.1.3.0 comes with PHP 4.3.11. Patch AS 10.1.3.2 adds PHP 5.1.2. If you have a serious need to use another version of PHP without installing another server, then you can compile your PHP release.
Note: changing PHP version in AS is not supported (and not recommended), but technically possible in some environments.In case of errors, the support service will ask you if you have not reinstalled PHP.
A technical problem is that the Oracle libraries do not include header files. This can be bypassed by connecting PHP and Orale using the Oracle Instant Client, but this is also related to problems, since AS does not use the Instant Client libraries. On the other hand, you will get the same error or unpredictable behavior.
The rest of this article contains technical details about reinstalling PHP.