0% found this document useful (0 votes)
26 views1 page

Install PHP

To manually install PHP on Windows, you must download the binary version from the PHP website, extract it to a PHP folder on your drive, rename the php.ini file, edit it to set the extension directory to your PHP folder, add that folder to your system PATH and create a new PHPRC system variable pointing to your PHP folder.

Uploaded by

Alberto
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views1 page

Install PHP

To manually install PHP on Windows, you must download the binary version from the PHP website, extract it to a PHP folder on your drive, rename the php.ini file, edit it to set the extension directory to your PHP folder, add that folder to your system PATH and create a new PHPRC system variable pointing to your PHP folder.

Uploaded by

Alberto
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

Install PHP on Windows manually

You have to download zipped binary version of PHP from


http://www.php.net/downloads.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).

Enter php folder and rename the file php.ini-recommonded to php.ini.

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.

Restart your system.

You might also like