Solved

zend framework on my personal computer localhost

Posted on 2011-09-03
4
373 Views
Last Modified: 2012-05-12
I put the zend folder in my wamp/bin/php/
and added this to the path
;C:\wamp\bin\php\zend_framework\bin
;C:\wamp\bin\php\php5.2.9-2\php.exe

and
added this to php.ini
 include_path = ".;C:\wamp\bin\php\zend_framework\library

restarted wamp





Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.

PS C:\Users\Acer> zf
'"php.exe"' is not recognized as an internal or external command,
0
Comment
Question by:rgb192
  • 2
  • 2
4 Comments
 
LVL 11

Expert Comment

by:AlexanderR
ID: 36479105
Thanks for previous points, but you should not accept answers that are not 100% working.  Please verify that it works fully, and if any problems I will follow up in the original threads.  Would not want you to waste points.

In previous questions, I said to put the php directory in path, not the actual php.exe
So your path should contain
;C:\wamp\bin\php\zend_framework\bin;C:\wamp\bin\php\php5.2.9-2\

Make sure it 100% works for you ;)
0
 

Author Comment

by:rgb192
ID: 36479208
I changed path, restarted wamp server

and still got same error
0
 
LVL 11

Accepted Solution

by:
AlexanderR earned 500 total points
ID: 36479228
These are windows path variables and are not related apache/wamp so restarting it will not affect.
However, you DO need to re-open power shell from where you type the commands.
Close powershell first, check the path, open powershell back up and type php -v (space before -v) and see if you get the correct php version number.
0
 

Author Closing Comment

by:rgb192
ID: 36518573
works, thanks
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
There is a huge demand for CodeIgniter among the PHP web developers due to its dynamic features and benefits these days. It is one of most popular and agile open source PHP framework for creating robust web applications in PHP web development field.…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now