Book Image

PHP Oracle Web Development: Data processing, Security, Caching, XML, Web Services, and Ajax

By : Yuli Vasiliev
Book Image

PHP Oracle Web Development: Data processing, Security, Caching, XML, Web Services, and Ajax

By: Yuli Vasiliev

Overview of this book

Oracle Database gets high marks for performance, reliability, and scalability. Building and deploying your PHP applications on Oracle Database enables you to combine the power and robustness of Oracle and the ease of use, short development time, and high performance of PHP. When used in a complementary way, PHP and Oracle allow you to build high-performance, scalable, and reliable data-driven Web applications with a minimum of effort.When building a PHP/Oracle application, you have two general options. The first is to use an Oracle database just to store data, performing all the operations on that data on the client side; the other is to use the database not only to store data, but also to process it, thus moving data processing to the data. While building the key business logic of a database-driven PHP application inside the database is always a good idea, you should bear in mind that not all of the databases available today allow you to do. The Oracle database, which offers record-breaking performance, scalability, and reliability, does. The partnership of Oracle and the open-source scripting language PHP is an excellent solution for building high-performance, scalable, and reliable data-driven web applications.This 100% practical book is crammed full of easy-to-follow examples. It provides all the tools a PHP/Oracle developer needs to take advantage of the winning combination. It addresses the needs of a wide spectrum of PHP/Oracle developers, placing the emphasis on the most up-to-date topics, such as new PHP and Oracle Database features, stored procedure programming, handling transactions, security, caching, web services, and Ajax.
Table of Contents (16 chapters)
PHP Oracle Web Development
Credits
About the Author
About the Reviewer
Preface

Installing Zend Core for Oracle


As mentioned in Chapter 1, section Zend Core for Oracle, you might significantly speed up and simplify the process of making PHP and Oracle software work together by taking advantage of Zend Core for Oracle, a pre-built stack that delivers a rapid development and deployment foundation for Oracle-driven PHP applications, saving you the trouble of separately downloading and installing the required pieces of software.

Once you have completed the following installation steps, you will have a Web/PHP server ready to work with your Oracle database.

Installing Zend Core for Oracle on Windows

Here are the installation steps for Zend Core for Oracle on Windows:

  • Log in to your computer as a user of the Administrators group.

  • Download Zend Core for Oracle from Zend Network. You can start by visiting the following page:

https://www.zend.com/core/oem_registration.php?access_ code=OracleDB
  • After you have downloaded the Zend Core for Oracle package, double-click it to start the installation wizard.

  • In the Welcome window, click Next.

  • In the License Agreement window, select I accept … and click Next.

  • In the Setup Type window, you can choose either Complete or Custom setup options. If you select Complete, all of the Zend Core for Oracle components will be installed. Otherwise, you will be able to choose a folder for Zend Core for Oracle installation and components to install. Click Next to continue.

  • In the Web Server Selection window, select the web server to be used. It is recommended that you select the default Apache installed on your computer. Then, click Next.

  • In the Web Server API window, accept the recommended Server API and click Next.

  • In the Extension Association window, choose the extensions that will be associated with the Core PHP installation and click Next.

  • In the Password window, enter a password for accessing the Zend Core for Oracle GUI and click Next.

  • In the Ready to Install the Program window, click Install to start installation.

  • In the Installation Complete window, choose Yes for the restart option and click Finish to complete the installation and restart the computer.

That is it. Now you should have a Web/PHP that is server ready to work with your Oracle database.

Installing Zend Core for Oracle on Linux

Here are the installation steps for Zend Core for Oracle on Linux:

  • Log in to your computer as root.

  • Download Zend Core for Oracle from Zend Network. You can start by visiting the following page:

https://www.zend.com/core/oem_registration.php?access_ code=OracleDB
  • After you have downloaded the package, extract Zend Core for Oracle:

$ tar -zxf ZendCoreForOracle-v1.3.1-Linux-x86.tar.gz
  • Change directory to ZendCoreForOracle-v1.3.1-Linux-x86:

$ cd ZendCoreForOracle-v1.3.1-Linux-x86
  • Start installation:

./install
  • In the Welcome screen, click OK to continue.

  • In the License Agreement screen, click exit. Then, click Yes to accept the license agreement and continue with the installation.

  • When prompted, choose the directory for installing Zend Core for Oracle and click OK.

  • In the next screen, enter a password for accessing the Zend Core for Oracle GUI and click OK.

  • When prompted, select the web server for Zend Core installation and click OK. It is recommended that you select the default Apache installed on your computer.

  • In the next screen, accept the selected installation method for the PHP on the web server and click OK.

  • In the next screen, select a virtual server for the Zend Core GUI and click OK.

  • When prompted, select to restart the web server to apply the changes.

  • In the final screen, click Exit to complete the installation and restart the web server.

That is it. Now you should have a Web/PHP that is server ready to work with your Oracle database.