Installing the Zoop PHP Framework

Zoop PHP Framework is quite easy to install and deploy. This guide expects you to be familiar with such concepts as uncompressing files and editing files.

Downloading Zoop

Download Zoop. We also recommend downloading the Zoop Skeleton, particularly if you are creating an application from scratch.

Uncompress the tarball into it's own directory. We recommend placing Zoop in a separate location from your program. Perhaps a place like /usr/local/zoop if you or on a unix machine. Zoop can be located pretty much anywhere that is accessible by php. Remember where you place Zoop because we are going to need that information in our program. The framework, and this guide references the location where Zoop is located on your system as "zoop_dir".

The Zoop Skeleton

Uncompress the skeleton tarball into a directory for your project. The Skeleton should look like this screenshot does.

Skeleton application file structure

We need to edit the config.php file and tell our application where to find zoop. There is one definition:

define('zoop_dir','/path/to/zoop');

A few more things are involved in starting to program with the Zoop Skeleton, so we wrote a separate tutorial about that called Beginning Zoop.

PEAR

The Zoop framework has a few dependencies on some Pear libraries. Starting with Zoop 1.2, Zoop now packages the necessary PEAR libraries and makes them available to download. These should be uncompressed and placed into zoop_dir/lib. This package should be used only when a standard Pear setup is not capable (such as on a shared hosting environment).

To Setup the necessary Pear dependencies you will need to copy and paste this into a terminal:

pear install DB
pear install --force VFS
pear install --force Log
pear install --force Validate
pear install --force XML_Util
pear install --force XML_Parser
pear install --force XML_Serializer
pear install --force XML_RPC
pear install --force Mail

It is likely you may already have some (most) of these. You also may not need them all, since many people probably won't be using all the components of Zoop, but there is no harm in installing them all. If you are on a shared system then you may have to ask someone else to do this for you. If you are upgrading zoop or using the zoop/lib for the first time, make sure the following line is in your config file below the line where "zoop_dir" is defined:

ini_set('include_path',ini_get('include_path').':'. zoop_dir . '/lib/pear:');

Make /tmp writable and other gotchas

Since Zoop uses caching and other temporary files the webserver needs a place to store them. By default that is in your application directory (app_dir for short) in a subdirectory tmp. Please make sure that this directory is writable by the server. In a Unix Environment you would do something like

# cd /path/to/app_dir
# sudo chgrp -R apache tmp
# sudo chmod -R g+w tmp

Installing the Zoop PHP

Installing the Zoop PHP Framework will work well for the users. This software includes some new tools and help the users to work with it easily. Thanks to facilitate us by providing this service.
walla walla university

rgmoon 16 Apr 2011

For some works very well,

For some works very well, but for some problems come. It's not that easy to set up. Looking for a Holiday in Norway ? Check out my collection of winter villas and choose a ski vacation.

suzettech 30 Jan 2012

classifieds homes los angeles

Zoop framework for PHP is so good and useful software and work very well.i like your post you do good effort to make it more valuable.
thanks for sharing.
classifieds homes los angeles

kingston123 04 Jul 2011

accessing PEAR Library

Are these PEAR Library ready available online so we can access brand names them when we need it?

spoterz 02 Nov 2011

Installing the Zoop PHP Framework

This is the first time I am visiting your blog and happy to read this post. I found this post is really useful one.. Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. Ecommerce website developers

zita 26 May 2011

php coding

My basic knowledge of PHP allowed me to work with sliding doors Zoop PHP Framework more efficiently.

slidoors 25 Sep 2011

php framework

Can you tell me the procedure for installing antivirus security software using the php framework? I tried that, but I had little success. Maybe you can write a tutorial about it. Thanks.

misterloftcraft 16 Oct 2011

I visit this site regularly

I visit this site regularly and I love reading blogs posted here. I have this site already bookmarked in my browser. Thanks for this post.pmi papers//redhat prep//veritas prep//vmware questions//

sadie 22 Nov 2011

Braindumps || ccna

Braindumps || ccna braindumps || MCP braindumps || cissp braindumps || mcse braindumps || mcitp braindumps || a+ braindumps || mcts braindumps ||

Its not the case that reader must be completely agreed with author's views about article. So this is what happened with me, anyways its a good effort, I appreciate it. Thanks

Leo123 09 Dec 2011

Smart choice for everyone

Smart choice for everyone that wants to start a business by hosting computer data on dedicated servers. Especially when you`re talking about getting it directly from the manufacturer, with all warranties included. As for the rest of your software activity you will need a quality hosted virtual desktop, make sure you scan from time to time other entries, shortcuts, or other application paths so as everything stays in order, just to rest assured your data storage is safe from any threats.

gregory 17 Jan 2012

Daily Express

Interesting topic what you have shared with us. Your writing skill is really very appreciative. I love when you share your views through the best articles.Keep sharing and posting articles like these.This article has helped me a lot.Keep posting this stuff.
Daily Express

kingston123 18 Jan 2012