dJtl Posted December 1, 2007 Share Posted December 1, 2007 How do you set it up for windows xp. I downloaded the file from php.net buts just some file with a bunch of READ MEs and stuff like that. So how exactly do you set it up? Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted December 1, 2007 Share Posted December 1, 2007 There is an install.txt file in there that has instructions for just about every possible combination of operating system and web server. The same information can be found in the installation section in the php manual. Find, read, and follow the instructions that apply to your operating system and web server. Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted December 1, 2007 Share Posted December 1, 2007 Download the windows binaries zipped package from php.net (not the source code). Extract the contents of the zip to C:/php. Add the following lines to Apache's httpd.conf: LoadModule php5_module "C:/php/php5apache2_2.dll"; PHPIniDir "C:/php" AddType application/x-httpd-php .php Save the httpd.conf. Now go to C:\php and rename a file called php.ini-recommended to php.ini Restart Apache. To test php create a file called phptest.php and place it in C:/Program Files/Apache Foundation/Apache2/htdocs (Note your path to Apache might differ, also delete any existing files within the htdocs folder too) Add the following code in phptest.php: <?php phpinfo(); ?> Open your web browser and go to the following address http://localhost/phptest.php If your installation of PHP was a success you should get a page full of PHP's current configuration and operating environment. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.