Databases Reference
In-Depth Information
3.1.2 Setting up Zend Framework
Setting up Zend Framework is quite easy. This section assumes that you have
PHP up and running with some supported Web server in your environment. Our
example uses:
Apache HTTP server 2.0.58 and assumes it is installed in the C:\Program
Files\Apache Group\Apache2 directory.
PHP 5.1.4 with the latest IBM DB2 driver for PHP.
If you need help with setting up Apache HTTP server with PHP, we provide the
setup procedures in Appendix A, “Setup procedure and sample data” on
page 295.
You need to download and save the preview version of Zend Framework from
the following Web site:
http://framework.zend.com/download
Note: Zend Framework is currently released as preview 0.1.4 and at the time
of writing this topic, this was the release available to use. Check the Web site
and use the latest version as it becomes available. You can also connect to
their Subversion Repository for anonymous checkout of the latest code and
report bugs. Zend Framework Developer Web site has plenty of information
for PHP developer.
In order to get started with our first Web application, let us follow these steps
carefully:
Directory structure
One very important goal of any framework is to simplify the common code
structure. We recommend this directory structure:
a. Save and unzip the Zend Framework preview code in the directory of your
choice. When unzipped, it saves itself in ZendFramework-0.1.4 directory
and contains demos, documentation, incubator, library, and tests
directories along with a readme, news, and license files.
b. Create a directory called zframework in the Apache Web server htdocs
directory as follows:
C:\Program Files\Apache Group\Apache2\htdocs\zframework
c.
Copy the entire library directory from your Zend Framework directory to
the zframework directory you just created. Rename this directory to lib .
 
 
Search WWH ::




Custom Search