Solved

zend framework on my personal computer localhost

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
This article discusses how to create an extensible mechanism for linked drop downs.
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.

773 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