how to install zend framework in xampp (win & mac) ?

Alles, was PHP betrifft, kann hier besprochen werden.

how to install zend framework in xampp (win & mac) ?

Postby cocoi » 03. July 2007 07:54

Im new in XAMPP. I love to use framework in my php code. One of them is Zend framework. (download here : http://framework.zend.com/download)

My question is, how to install zend framework in XAMPP Windows and MAC ?

please, guide me in step by step and easy to understand.

Thanks & Cheers..
cocoi
 
Posts: 1
Joined: 03. July 2007 07:35

Postby KingCrunch » 03. July 2007 12:29

1. Copy it in a directory of your choice
Code: Select all
/path/to/htdocs/myproject/library/Zend

2. Add the library-path to your include-path
[code]set_include_path(get_include_path() . PATH_SEPARATOR . '/path/to/htdocs/myproject/library/');
3. Use it ;)

Its useful to first load Zend_Loader an register its autoload-method
[code]require_once('Zend/Loader.php');
Zend_Loader::registerAutoload();[/code]

Now you can simply use the components by using it ;)

[url=http://framework.zend.com/manual/en/]Here[Url] you can find the Manual
Nicht jeder Fehler ist ein Bug ...
KingCrunch
 
Posts: 1724
Joined: 26. November 2005 19:25


Return to PHP

Who is online

Users browsing this forum: No registered users and 8 guests