Professional Documents
Culture Documents
Install PHP
Install PHP
Extract the downloaded file to php folder which must be created at the root of any
of your windows drives (e.g. c:\php or d:\php).
Open the file php.ini with any text editor and find extension_dir within the file.
Change the extension directory, i.e. if you have installed php in php folder of D
drive, setting will be extension_dir=D:\php.
Now you open Environment Variables (MyComputer -> System Properties -> Environment
Variables), under system variables, select Path and click Edit,
in the Variable value, go to the end of the list and put a semicolon, then add
D:\php;D:\php\ext assuming D:\php is the location of your php installation.
Then Click on New under system variable and add PHPRC against Variable name and D:\
php against Variable value.