Tuesday, June 24, 2008

Installing php5

On Windows XP Pro:-
1) download php's installation zip file from http://www.php.net
2) Unzip the files to "C:/Program Files/php" folder
3) Add "C:/Program Files/php" to the PATH environment variable. Right click My Computers->properties->Advanced->Environment Variables. Update PATH variable under system variables section.
4) rename php.ini-dist as php.ini under "C:/Program Files/php" folder
5) Restart PC. This makes the os load all files residing in "C:/Program Files/php" folder.
6) After restart, open command line window (start->run->cmd.exe) and run php -version
7) The installation is successful if the php interpreter shows version information without any errors or exceptions

No comments: