Solved

zend framework on my personal computer localhost

Posted on 2011-09-03
4
402 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this article you'll learn how to use Ajax calls within your CodeIgniter application. To explain this, I'll illustrate how to implement a simple contact form to allow visitors to send you an email through your web site.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

707 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