- Install IIS (Required Windows CD to install IIS server).
- Go to Control Panel > add/Remove programs windows components > select IIS
- Go to Start > control panel > performance & maintenance > Internet Information Services > websites > default websites ---right click--->Select stop
- Download PHP from PHP website
- Extract the downloaded zip folder (for example php5)and then see the directory structure.
- Copy php5\dev\php5ts.dll to C:\windows\system32\
- Copy php5\php.int-dist to c:\windows\ and rename it as php.ini
- Copy all files from php5\ext\ to c:\windows\sysem32\ or change the path variable to php5\ext\
- Open the file php.ini from c:\windows\ and make changes like extension-dir=c:\php5\ext
- Remove the semicolon which is prefixed from the line extensions=php_gd2.dll
- As point 9, we can enable the extensions as per our requirements. Above extensions will enable GD library.
- Save the modified php.ini file and close it.
- Go to Start > control Panel > performance & maintenance > administrative tool > IIS > website > Default website ---right click---> properties ---click--->SAPI filter tab ---click--->Add button ----create a new filter [filter name PHP] [Extension: c:\php5\php5isabpi.dll] > OK
- Home directory tab > configuration button ---click on add button > Executable ---click on Browse button to select the file (c:\php5\php5isapi.dll)
- Provide .php as extension > ok >ok
- Go to Start > control Panel > performance & maintenance > administrative tool > IIS > website > default website ---right click--->start
Q. What is Path environment variable?
A: A path environment variable contains a list of directories paths in which windows will look for things. To set the path variable,
Go to start > control panel > system > advanced > environment variables
Add your new path and click on save
No comments:
Post a Comment
Thanks for your valuable comments.