Solved

zend framework on my personal computer localhost

Posted on 2011-09-03
4
395 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
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 look for a specific file type in a local or remote server directory using PHP.

726 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