PHP 5 for Dummies Free Open Book

PHP 5 for Dummies

Previous PageNext Page
Appendix A
Installing PHP
I
n this Appendix, I describe how to install PHP on the Unix/Linux, Windows,
and Mac platforms, both for use with Web sites and with PHP command
line interface (CLI). For Web sites, although PHP runs with several Web servers,
I discuss Apache and IIS (Microsoft Internet Information Server), which
together power almost 90 percent of the Web sites on the Internet. If you need
instructions for other operating systems or Web servers, see the PHP Web
site (
www.php.net
).
This appendix provides installation instructions for PHP 5. If you are installing
an earlier version, the installation may be slightly different; in this case, please
read the file 
install.txt
that is provided with the PHP distribution.
Installing PHP on Computers 
Running Unix/Linux
You can install PHP as a partner with Apache for use in Web pages or as a
stand-alone interpreter. If you want to use PHP for both Web sites and as 
a stand-alone language, you need to install PHP with Apache and PHP CLI,
which are two separate types of PHP. The instructions below include informa-
tion for both types of PHP installations — PHP for the Web and PHP CLI.
You install PHP by downloading the source files, compiling them, and then
installing the compiled programs. This process isn’t as technical and daunting
as it may appear. I provide step-by-step instructions in the next few sections.
Read all the way through the steps before you begin the installation procedure
to be sure that you understand it all clearly. Try to have everything prepared
so you don’t have to stop in the middle of the installation.
For Linux usersonly:Many Linux distributions automatically install both
Apache and PHP, thus saving you the trouble of installing them yourself. In
addition, PHP for Linux is available in an RPM as well as in source files. It may
be in RPM format on your distribution CD. However, when PHP is preinstalled
or when you install it from an RPM, you can’t control the options that PHP 
is installed with. For example, in these instances, PHP CLI may not have been
Previous PageNext Page


     Main Menu
PHP 5 for Dummies
Table of Contents
Introduction
Part I: Say Hello to the PHP Scripting Language
Part II: Variables and Data
Part III: Basic PHP Programming
Part IV: Common PHP Applications
Part V: The Part of Tens
Part VI: Appendixes
My Web Site - Page 348
My Web Site - Page 349
Appendix A: Installing PHP
Installing PHP on Computers Running Unix/Linux
Before installing on Unix/Linux
Installing on Unix/Linux
Alternative method for installing with Apache
Installing PHP on Computers Running Mac OS X
Installation Options for Unix/Linux/Mac
Configuring on Unix/Linux/Mac
Installing PHP on Computers Running Windows
Appendix B: Useful PHP Built-in Functions
Index
Team DDU


More Books
PHP Hacks
Processing Xml With Java - A Guide To Sax, Dom, Jdom, Jaxp, And Trax
The Koran (Holy Qur'an)
Macromedia Flash 8 Bible
Search Engine Optimization for Dummies
YouTube Traffic
PHP 5 for Dummies
Harry Potter and The Chamber of Secrets
Harry Potter and the Sorcerer's Stone
The Pilgrim's Progress
Wireless Hacks
Flash Hacks. 100 Industrial-Strength Tips & Tools
PayPal Hacks. 100 Industrial-Strength Tips and Tools
Amazon Hacks
Pdf Hacks
The Da Vinci Code
Google Hacks
The Holy Bible
Windows XP For Dummies
Harry Potter and the Half-Blood Prince
Seo Book
Upgrading and Repairing Networks
Macromedia Dreamweaver 8 UNLEASHED
Windows XP Annoyances
Windows XP Hacks
Microsoft Windows XP Power Toolkit
Teach Yourself MS Office In 24Hours
iPod & iTunes Missing Manual
PC Hacks 100 Industrial-Strength Tips and Tools
PC Overclocking, Optimization, and Tuning - 2th Edition
PC Hardware In A Nutshell 3rd Edition
PC Hardware in a Nutshell, 2nd Edition
Upgrading and Repairing PCs
Google for Dummies
MySQL Cookbook
Teach Yourself Macromedia Flash 8 In 24 Hours
PHP CookBook
Sams Teach Yourself JavaScript in 24 Hours
PHP5 Manual
Free Games Paper Airplanes
500 Juegos Gratis 500 Giochi Gratis 500 Jeux Gratuits 500 Jogos Gratis 500 Kostenlose Spiele