Posts

Showing posts with the label Windows

Find the php.ini or php installed path in windows from command line prompt

How to find .ini file OR php path OR php version OR any other details of PHP. If you installed   PHP   in windows directly or using webplotform installer. Open command prompt and go to C Drive type C:\> php -v The result will be like this in my system, it may differ to you based on PHP version PHP 5.4.24 (cli) (built: Jan  8 2014 20:26:10) Copyright (c) 1997-2013 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies C:\>php --ini Configuration File (php.ini) Path: C:\Windows Loaded Configuration File:         C:\Program Files (x86)\iis express\PHP\v5.4\php.ini Scan for additional .ini files in: (none) Additional .ini files parsed:      (none) If you want search/find using particular key word you can use this command C:\>php -i | findstr php.ini Configuration File (php.ini) Path => C:\Windows Loaded Configuration File => C:\Program Files (x86)\iis express\PHP\v5.4\php.ini C:\>php -i | findstr version System => Win

Setup environment for PhoneGap android with eclipse in Windows 7/8

Image
1) Download  a) JAVA from http://www.oracle.com/technetwork/java/javase/downloads/index.html b) APACHE ANT from   http://ant.apache.org/bindownload.cgi (under Current Release of Ant) c) ANDROID SDK from https://developer.android.com/sdk/index.html#ExistingIDE * This will contain  * Eclipse + ADT Plugin * Android SDK Tools * Android Platform-tools * The latest Android platform * The latest Android system image for the emulator d) If you want new version of Eclipse you can download from https://www.eclipse.org/downloads/ 2) Install all Software. 3) Now we will Set up environment variables * Follow the bellow images                       Under User variables for {YOUR NAME} JAVA_HOME     C:\Program Files\Java\jdk1.7.0_51\     Under System variables ANDROID_HOME  E:\Downloads\adt-bundle-windows-x86_64-20131030\sdk          (This is my source path) ANT_HOME      C:\apache-ant-1.9.3  (This is my source path) PATH      

How to install Node.js, npm, socket.io and use them?

1 Go to  http://nodejs.org  and click on Install button,  2.. Download node and install it 3.. Create an empty folder on your hard disk      3.1) check environment path of nodejs using command prompt             a) C:\>set %PATH%              If it is not showing any path regarding node then set the environment path             b)  C:\>set path=%PATH%;C:\Program Files\nodejs\ 4.. Create an package.json file with the following content       Ex: C:\Program Files\nodejs\package.json { "name" : "App" , "version" : "0.0.1" , "description" : "App" , "dependencies" : { "socket.io" : "latest" }, "author" : "developer" } 5.. Open windows's command prompt (press Windows key + R and type  cmd ) 6.. Navigate to your newly created directory with  cd  command 7.. Type  npm install  in that directory       7.1)

How to Run Various Linux Commands On Windows Using GIT Bash

Image
First way is :--> Install GIT  latest stable version. After install open GIT-->Bash and now you can execute Linux commands. If you want check which commands can execute just go to this PATH  C:\Program Files\Git\bin and check the file names. And one more thing you can use GIT as Version Controller like SVN Second way is :-->   How to run various Linux Commands on Windows using GOW (GNU on Windows)