Solved

zend framework on my personal computer localhost

Posted on 2011-09-03
4
377 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

895 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

18 Experts available now in Live!

Get 1:1 Help Now