Version 2:
Version 2 is as easy to install as V1, just extract the zip file to C:/ or whatever your main drive is called. Winzip will then create the folder C:/phpdev2. in phpdev2 you will find 4 folders. phpdev2/apache is where apache lives, phpdev2/php is where php4.03 lives and phpdev2/mysql is where MySQL is going to live. The other folder is phpdev2/www , this is your document root, i.e. any files that you wish apache to serve, and PHP to parse need to be in here. This is where apache will point your browser when you type http://localhost into the address bar, you can of course re configure apache to have your document root anywhere - but until things are up and running - stick with the default.
|
| is here - and I would strongly recommend that you take a look!
|  |
| Or download phpdev2 now from here if you prefer
|
|
Well that's pretty much it! - if all the folders are in the right places all you need do is navigate to c:/phpdev/ and double click the go.bat file, this will start up MySQL and Apache - php will start up as and when it is called by apache so you do not need to start it up yourself. OK - now open your favourite browser and type http://localhost in the address bar, if apache is running you will see the test page open up, so far we only know that apace works - click the 2 links that test PHP and MySQL, you will know if something is not working as apache will give you an error message.
Quick tip if you have a proxy Internet sever... you may need to go into your Internet settings and explicitly tell IE or NS not to use your proxy settings for addresses beginning with http://localhost, you may need to do this anyway but proxies cause the biggest problems.
That's it - don't forget the help forums, any problems or questions or abuse should be posted there. |
|