4
Contributors
11
Replies
27
Views
4 Years
Discussion Span
Last Post by kakalahori
Featured Replies
  • 1

    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 … Read More

  • 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 Read More

0

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.

0

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

1

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

Edited by Squidge

0

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

0

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

0

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

0

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

0

@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?

1

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

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.