Download PHP from www.php.net/downloads.php Download Windows Binaries
Choose a mirror site Save it After you save it, run it Click Run Click Next Click I Agree Click Next Select a directory to install to Click Next Click Next Select Xitami to run PHP Click Next Click Next Click OK Click OK Click OK Turn Xitami off and on If necessary rename php.ini-dist to php.ini – move to C:\Windows, or with other .ini files
If necessary move msvcrt.dll and php4ts.dll to C:\Windows\System, or with other .dll files
make config changes to defaults.cfg or defaults.aut if necessary In defaults.cfg add: [Filter] .php=c:\ path to php.exe All php files must be run from C:\Xitami\webpages directory Access server through localhost or 127.0.0.1 When typing in URL, do not add “webpages” to URL
In php.ini, set cgi.force_redirect to 0 make sure it is not commented out with a semicolon In a text editor create an HTML document with the following code in the <body> <?php phpinfo( ); ?> Name it phpinfo.php, save in C:\Xitami\webpages Run it: http://localhost:88/phpinfo.php