there is no file zf.bat in zend frame work2 like in the previous version ............ please any one can tell how to install it easy way and in windows

Recommended Answers

All 11 Replies

Member Avatar for LastMitch

there is no file zf.bat in zend frame work2 like in the previous version ............ please any one can tell how to install it easy way and in windows

What error did you get? Can you post the error messages.

there is no zf.bat file in the framework2 .... CLI form doesnot acepts zf commands when adding envoirment variables

ZF2 is no longer using zf.bat.

If you look over the base tutorial it takes you through how to install:

cd /my-project/dir
git clone git://github.com/zendframework/ZendSkeletonApplication.git
cd ZendSkeletonApplication
php composer.phar self-update
php composer.phar install

This obviously assumes you have composer, and git installed.

Here is a sample tut: http://bigemployee.com/zend-framework-2-simple-web-application-crud-using-ajax-tutorial/ that the above was taken from.

I am looking through ZF2 at the present (and also ZF1), do be careful on the ZF2 tut on the ZF2 website, as there are errors.

I have just gone through this a few times and installed onto Win 7 64Bit within 5 minutes.

Make sure you allow git to amend your PATH, and also ensure you manually add the composer PATH variable

Member Avatar for LastMitch

there is no file zf.bat in zend frame work2 like in the previous version ..

When you post this sentence it doesn't look like an error statement. That's why I ask.

So the error message is this:

there is no file zf.bat in zend frame work2

There's no zf.bat file in Zend Framework 2. Right now it used this:

http://framework.zend.com/manual/2.0/en/user-guide/skeleton-application.html

i installed the older version of the zend frame work 1.12 and its working fine but i have a new error

i created a project with zf
i changed the virtual host of windoes
changeed httpd.conf to include httpd-vhosts.conf
and in httpd-vhost
i pasted

<VirtualHost *:80>
    ServerAdmin webmaster@dummy-host.example.com
    DocumentRoot "c:/wamp/www/NPCS.server.com"
    ServerName NPCS.server.com
    ServerAlias www.NPCS.server.com
    ErrorLog "logs/NPCS.server.com-error.log"
    CustomLog "logs/NPCS.server.com-access.log" common
</VirtualHost>

i changed the host in windows system32

when i type localhost or NPCS.server.com i get the same page .... but it is to show me the Public>index.php
where as in the projects default wamp page for local host under my projects its shows the list of directories like if the index file is missing and public folder is not shown in the list even

ok i restarted the server and it wouldd give error 403 forbidden on this server
and i quote back

include httpd-vhost.conf

and it gets back working

so how to change httpd-vhost.conf to be working

i made another change
i unquoted the include httpd-vhosts.conf
and in the vhost file i delted the second virtual host and pasted the above code
now it gives another error 500 internal server error

Member Avatar for LastMitch

@kakalahori

What are you doing now? You are posting alot of errors.

May I ask are you still trying to installed Zend Framework 2?

or this something else?

i deleted zf2
and configured zf1.12.3

some how i have managed to over come some of the errors my local host is even wokring ill be closing this thread and starting a new as its getting irrevelvant off the topic

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.