Professional Documents
Culture Documents
Installing Oracle Database, PHP, and Apache On Microsoft Windows XP
Installing Oracle Database, PHP, and Apache On Microsoft Windows XP
Installing Oracle Database, PHP, and Apache On Microsoft Windows XP
1 of 2
Products
Oracle Technology Network
Articles
Solutions
Communities
Downloads
http://www.oracle.com/technetwork/articles/dsl/inst-php-apache-window...
I am a...
Store
Search
I want to...
Support
Training
Partners
About
Are you ready to start using PHP to talk to an Oracle Database? Let's walk through the steps required to install the Oracle Database, Apache HTTP
Server, and PHP on Windows. We will be using Windows XP Professional for this example.
Software Requirements
Software
VersionSoftware Description
Oracle Database 11g Release 2 Express Edition for Windows x3211.2 www.oracle.com/technetwork/products/express-edition/overview
Apache HTTP Server
2.2
httpd.apache.org
PHP Hypertext Processor
5.4
php.net
Installing Oracle
You have a choice where to install Oracle Database. You may either install it locally on this Windows machine, or you may decide to use a database
located on another machine. If your database is not on your machine, jump to the article on Installing PHP and the Oracle Instant Client for Linux and
Windows.
Otherwise, if this is your first time with Oracle, installing Oracle Database 11g Express Edition (commonly known as "XE") only takes a few minutes.
Download the Express Edition ZIP file OracleXE112_Win32.zip, unzip it, navigate to the DISK1 folder, and run setup.exe to start the
installation wizard. The XE Installation Guide covers this in detail.
Installing PHP
Installation steps:
Download the PHP 5.4.0 "VC9 x86 Non Thread Safe" ZIP package php-5.4.0-nts-Win32-VC9-x86.zip from windows.php.net/download.
In Windows Explorer unzip the PHP package to a directory called C:\php-5.4.0
In C:\php-5.4.0 copy php.ini-development to php.ini
05/08/14 12:38
2 of 2
http://www.oracle.com/technetwork/articles/dsl/inst-php-apache-window...
Conclusion
You should now have the Oracle Database, Apache HTTP Server, and PHP installed and configured. At this point you are ready to start writing PHP
applications on the Oracle platform.
Oracle's free Underground PHP and Oracle Manual contains more detail on using PHP with Oracle Database.
For more information about PHP and Oracle, visit the OTN PHP Developer Center.
There is also a PHP Forum to post any questions.
05/08/14 12:38