1. Download and install Oracle 8i for Linux. Fully installed, don't just install client download location: chat.hn.cninfo.net/soft HOT Download 2. Download PHP3 or PHP4 Source Codes Download Location: www.php.net www. PHPUSER.com chat.hn.cninfo.net/soft 3. Configuring PHP installation parameters for php 4: ./configure --with-apxs = / usr / sbin / apxs / --prefix = / usr / --with- GD / --NABLE-VERSIONING / --WITH-mysql = / usr / --with-oracle = / usr / local / oracle / 8i / u01 / app / oracle / product / 8.1.5 / --with-oci8 = /us/local/oracle/8i/u01/app/oracle/Product/8.1.5 / --with-zlib / --with-dbase / --with-filepro / --with-config-file-path = / ETC / httpd / conf / --nable-debug = no / --enable-magic-quotes / --enable-debugger / --enable-bcmath / --enable-track-vars / --Nable-Safe-Mode / --with-exec-dir = / usr / bin / --with-system-regex / --no-create / --no-recursion --with-oracle option allows PHP to pass ORA_ Function Access Oracle 7.x or 8.x --with-OCI8 option allows PHP to use more and better OCI8 functions 4. Make 5. make install 6. cp ./php.ini-dist / wherever / your / CONF / files / are / php.ini copies php.ini to the appropriate location 7. Modify httpd.conf to modify this line loadModule php4_module lib / apache / libphp4.so change to: loadingModule PHP4 _Module /usr/lib/apache/libphp4.so 8. Restart Apache 9. Test whether PHP4 installation has successfully created a test.php3 content as: phpinfo ();> Access it in your browser, see if there is Oracle and Oracle8 information.