13.09.2016 Views

PHP and MySQL Web Development 4th Ed-tqw-_darksiderg

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

902 Appendix A Installing <strong>PHP</strong> <strong>and</strong> <strong>MySQL</strong><br />

OpenSSL 0.9.8h, without source code, packaged as an MSI file. MSI files are the package<br />

format used by the Windows installer.<br />

Unless you have a really elusive bug or want to contribute to the development effort,<br />

it is unlikely that you will want to compile the source code yourself.This single file contains<br />

the Apache server ready to be installed.<br />

Double-click the file you downloaded to start the process.The installation process<br />

should look familiar to you. As shown in Figure A.5, the installer looks similar to many<br />

other Windows installers.<br />

Figure A.5<br />

The Apache installer is easy to use.<br />

The install program prompts you for the following:<br />

n<br />

n<br />

n<br />

n<br />

The network name, server name, <strong>and</strong> administrator’s email address. If you are<br />

building a server for real use, you should know the answers to these questions. If<br />

you are building a server for your own personal use, the answers are not particularly<br />

important.<br />

Whether you want Apache to run as a service. As with <strong>MySQL</strong>, setting it up this<br />

way is usually easier.<br />

The installation type.We recommend the Complete option, but you can choose<br />

Custom if you want to leave out some components such as the documentation.<br />

The directory in which to install Apache. (The default is C:\Program<br />

Files\Apache Software Foundation\Apache2.2.)<br />

After you choose all these options, the Apache server will be installed <strong>and</strong> started.<br />

Apache listens to port 80 (unless you changed the Port, Listen, or BindAddress directives<br />

in the configuration files) after it starts.To connect to the server <strong>and</strong> access the<br />

default page, launch a browser <strong>and</strong> enter this URL:<br />

http://localhost/

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!