The Oracle + PHP Cookbook: Calling Oracle Stored Procedures with PHP A stored procedure workout with Oracle and PHP by Harry Fuecks Published November 2005 A stored procedure is a program that resides physically in Oracle. Most stored procedures are written in PL/SQL, although with Oracle Database 10g Release 2 and later you can write them in Java, .NET, or other languages as External Procedures.