Installation of Zend Framework on Xammp

For programming and general questions on Zend Framework
Post Reply
krajiv26
Posts: 1
Joined: Fri Apr 17, 2009 6:32 am

Installation of Zend Framework on Xammp

Post by krajiv26 » Fri Apr 17, 2009 6:39 am

Hi,
I am installing Zend Framework on the my Xampp
as follows:-
putting a folder 'zf' in htdocs of Xammp and than i coping all quickstart folder a in that

Now the directory structure look like


Xampp/
>>htdocs/
>>> zf/
>>>> application/
>>>> libarary/
>>>> scripts/
>>>> data/
>>>> public/


here > means space
is it ok?

and running as http://localhost/zf/public/ to run it
index goes good but latter be adding pages it jumps to
http://localhost/index/extract/

massimilianoc
Posts: 699
Joined: Thu Mar 12, 2009 11:58 am

Re: Installation of Zend Framework on Xammp

Post by massimilianoc » Mon Apr 20, 2009 2:18 pm

The Zend Framework is a library of modules working in a 'use at will' fashion.

To work with Zend Framework modules the simplest way is to follow these steps:
  • Make sure Zend Framwork subfolders are readable from the Web Server.
  • Add, in php.ini, the full path to the 'library' folder (.../htdocs/zf/libarary in your case) to the directive 'include_path'.
  • Restart the Web Server.
  • In your code use "include_once 'Zend/Log.php'" to load the Zend_Log class.
Of course you can find valuable information here: http://framework.zend.com/

Best regards,
Massi.
Best regards,
Massi.

rxt360
Posts: 3
Joined: Thu Apr 23, 2009 11:35 am

Re: Installation of Zend Framework on Xammp

Post by rxt360 » Thu Apr 23, 2009 11:40 am

krajiv26 wrote:Xampp/
>>htdocs/
>>> zf/
>>>> application/
>>>> libarary/
>>>> scripts/
>>>> data/
>>>> public/

and running as http://localhost/zf/public/ to run it
index goes good but latter be adding pages it jumps to
http://localhost/index/extract/
You better use virtual hosting (see apache/conf/extra/vhosts.conf, and enable vhosts in httpd.conf). Then you set the path for the host to the public folder, because the other folders shouldn't be accessible. Add the local domainname (like zend.local) to your hosts file, and you have a better configuration.

Post Reply