How configure php in environment varible for windows?


To configure php in environment variable for windows,just run below code with current wamp path in command prompt:

SET PATH=%PATH%;C:\your\wamp\path\php

C:\>php -a
Interactive mode enabled
<?php
echo 'pppp';
echo "hello world";
?>
^Z
echo 'pppp';
hello world

to finish the code with <?php and end ?> to run the code just (^z) Press control button + (z) button.
Advertisements
About

myself pramodh kumar yet another php developer from India and have worked on oops,procedural,yii framework,codeigniter,wordpress,joomla,api and more.

Tagged with: , , , , , ,
Posted in php

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow php tutorial on WordPress.com
categories
Calendar
June 2015
M T W T F S S
« May   Sep »
1234567
891011121314
15161718192021
22232425262728
2930  
Follow me on Twitter
Blog Stats
  • 72,886 hits
%d bloggers like this: