I am new to php but more familiar with Oracle.
I am curious too. If it fails, the following should work with the idea that you are NOT running the DB and apache/IIS on the same logical computer.
If you use the OCI8 functions just install the oracle 8i client utilitieswhere ever the web server is. To the best of my knowledge and experience, you should have no problem connecting to a 9i database using 8i connectivity. However if you are calling specific 8i functions like initcap(), sum() in your sql which are specific to Oracle's version of SQL you might run into some issues. But for the most part Oracle does a very good job of compatability.
On other applications I have used Oracle 7.3 client utilities to connect to Oracle 8.1.7 databases because the application was originally designed against an Oracle 7.3 database.
Test it out. Using a separate computer download the 9i database and move your tables over. 9i should be able to import an 8i export. Once you get yout tables and any data over just change your connection info. I have left HUGE amounts of oracle stuff to do and watch out for like NLS_LANG but check the oracle forums if you have problems.