Yii Framework Forum: php.exe is not recognized - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

php.exe is not recognized Rate Topic: -----

#1 User is offline   SystemicPlural 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 133
  • Joined: 12-April 10

Posted 12 April 2010 - 03:42 AM

Hi,

Posting this here as apparently I need to add a forum post in order to add a comment to the docs.

If you get the error
php.exe is not recognized as an internal or external command

When you try to create the new framework then you need to add php.exe's location to your system path.
On Windows XP goto
Control Panel > System > Advanced > Environment Variables > System Variables > Edit > Variable value

And at the end of the current contents add a semicolon followed by your path to php.
EG, mine is located at
 C:\Program Files\wamp\bin\php\php5.2.9-2

0

#2 User is offline   kiran sharma 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 493
  • Joined: 21-May 11
  • Location:India

Posted 16 April 2013 - 05:22 AM

make sure your environment variable configure correctly
open command prompt..
go to your server root path (www)
type as below (modify as your own way..)
-> php c:\wamp\framework\yiic.php webapp c:\wamp\www\myapp
Thanks,
Kiran Sharma.
0

#3 User is offline   Finzaiko 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 37
  • Joined: 18-November 11
  • Location:Indonesia

Posted 16 April 2013 - 08:52 PM

you can direct find php.exe
activate to php directory :
cd C:\Program Files\wamp\bin\php\php5.2.9-2

generate yiic :
C:\Program Files\wamp\bin\php\php5.2.9-2>php.exe C:\Program Files\wamp\my_yii_framework_location\framework\yiic webapp C:\Program Files\wamp\www\my_app_name

OR
easly, you can use xampp and netbeans editor just follow the wizard
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users