Setting Up LAMP_ Getting Linux, Apache, - Rosebrock_ Eric.pdf

(6905 KB) Pobierz
Setting Up LAMP : Getting Linux, Apache, MySQL, and PHP Working Together
Setting Up LAMP:
Getting Linux, Apache, MySQL,
PHP Working Together
and
22763807.142.png 22763807.153.png 22763807.164.png 22763807.175.png 22763807.001.png 22763807.012.png 22763807.023.png 22763807.034.png 22763807.045.png 22763807.056.png 22763807.067.png 22763807.078.png 22763807.089.png 22763807.100.png 22763807.102.png 22763807.103.png 22763807.104.png 22763807.105.png 22763807.106.png 22763807.107.png 22763807.108.png 22763807.109.png 22763807.110.png 22763807.111.png 22763807.112.png 22763807.113.png 22763807.114.png 22763807.115.png 22763807.116.png 22763807.117.png 22763807.118.png 22763807.119.png 22763807.120.png 22763807.121.png 22763807.122.png 22763807.123.png 22763807.124.png
22763807.125.png 22763807.126.png 22763807.127.png 22763807.128.png 22763807.129.png 22763807.130.png 22763807.131.png 22763807.132.png 22763807.133.png 22763807.134.png 22763807.135.png 22763807.136.png 22763807.137.png 22763807.138.png 22763807.139.png 22763807.140.png 22763807.141.png 22763807.143.png 22763807.144.png 22763807.145.png 22763807.146.png 22763807.147.png 22763807.148.png 22763807.149.png 22763807.150.png 22763807.151.png 22763807.152.png 22763807.154.png 22763807.155.png 22763807.156.png 22763807.157.png 22763807.158.png 22763807.159.png 22763807.160.png 22763807.161.png 22763807.162.png 22763807.163.png
Setting Up LAMP:
Getting Linux, Apache, MySQL,
PHP Working Together
Eric Rosebrock
Eric Filson
San Francisco • London
and
22763807.165.png 22763807.166.png 22763807.167.png 22763807.168.png 22763807.169.png 22763807.170.png 22763807.171.png 22763807.172.png 22763807.173.png 22763807.174.png 22763807.176.png 22763807.177.png 22763807.178.png 22763807.179.png 22763807.180.png 22763807.181.png 22763807.182.png 22763807.183.png 22763807.184.png 22763807.185.png 22763807.002.png 22763807.003.png 22763807.004.png 22763807.005.png 22763807.006.png 22763807.007.png 22763807.008.png 22763807.009.png 22763807.010.png 22763807.011.png 22763807.013.png 22763807.014.png 22763807.015.png 22763807.016.png 22763807.017.png 22763807.018.png 22763807.019.png
Associate Publisher: Joel Fugazzotto
Acquisitions Editor: Tom Cirtin
Developmental Editor: Tom Cirtin
Production Editor: Lori Newman
Technical Editor: Sean Schluntz
Copyeditor: Sharon Wilkey
Compositor: Laurie Stewart, Happenstance Type-O-Rama
Proofreaders: Nancy Riddiough, Laurie O’Connell
Indexer: Nancy Guenther
Cover Designer: Caryl Gorska, Gorska Design
Cover Photographer: Peter Samuels, Tony Stone
Copyright © 2004 SYBEX Inc., 1151 Marina Village Parkway, Alameda, CA 94501. World rights reserved. No part of this publication may
be stored in a retrieval system, transmitted, or reproduced in any way, including but not limited to photocopy, photograph, magnetic, or other
record, without the prior agreement and written permission of the publisher.
Library of Congress Card Number: 2004104101
ISBN: 0-7821-4337-7
SYBEX and the SYBEX logo are either registered trademarks or trademarks of SYBEX Inc. in the United States and/or other countries.
Transcend Technique is a trademark of SYBEX Inc.
TRADEMARKS: SYBEX has attempted throughout this book to distinguish proprietary trademarks from descriptive terms by following the
capitalization style used by the manufacturer.
The author and publisher have made their best efforts to prepare this book, and the content is based upon final release software whenever pos-
sible. Portions of the manuscript may be based upon pre-release versions supplied by software manufacturer(s). The author and the publisher
make no representation or warranties of any kind with regard to the completeness or accuracy of the contents herein and accept no liability
of any kind including but not limited to performance, merchantability, fitness for any particular purpose, or any losses or damages of any kind
caused or alleged to be caused directly or indirectly from this book.
Manufactured in the United States of America
10 9 8 7 6 5 4 3 2 1
22763807.020.png 22763807.021.png 22763807.022.png 22763807.024.png 22763807.025.png 22763807.026.png 22763807.027.png 22763807.028.png 22763807.029.png 22763807.030.png 22763807.031.png 22763807.032.png 22763807.033.png 22763807.035.png 22763807.036.png 22763807.037.png 22763807.038.png 22763807.039.png 22763807.040.png 22763807.041.png 22763807.042.png 22763807.043.png 22763807.044.png 22763807.046.png 22763807.047.png 22763807.048.png 22763807.049.png 22763807.050.png 22763807.051.png 22763807.052.png 22763807.053.png 22763807.054.png 22763807.055.png 22763807.057.png 22763807.058.png 22763807.059.png 22763807.060.png
SOFTWARE LICENSE AGREEMENT:
TERMS AND CONDITIONS
Warranty
SYBEX warrants the enclosed media to be free of physical defects
for a period of ninety (90) days after purchase. The Software is not
available from SYBEX in any other form or media than that
enclosed herein or posted to
The media and/or any online materials accompanying this book
that are available now or in the future contain programs and/or text
files (the “Software”) to be used in connection with the book.
SYBEX hereby grants to you a license to use the Software, subject
to the terms that follow. Your purchase, acceptance, or use of the
Software will constitute your acceptance of such terms.
The Software compilation is the property of SYBEX unless other-
wise indicated and is protected by copyright to SYBEX or other
copyright owner(s) as indicated in the media files (the “Owner(s)”).
You are hereby granted a single-user license to use the Software for
your personal, noncommercial use only. You may not reproduce,
sell, distribute, publish, circulate, or commercially exploit the Soft-
ware, or any portion thereof, without the written consent of SYBEX
and the specific copyright owner(s) of any component software
included on this media.
In the event that the Software or components include specific
license requirements or end-user agreements, statements of condi-
tion, disclaimers, limitations or warranties (“End-User License”),
those End-User Licenses supersede the terms and conditions
herein as to that particular Software component. Your purchase,
acceptance, or use of the Software will constitute your acceptance of
such End-User Licenses.
By purchase, use or acceptance of the Software you further agree to
comply with all export laws and regulations of the United States as
such laws and regulations may exist from time to time.
. If you discover a
defect in the media during this warranty period, you may obtain a
replacement of identical format at no charge by sending the defec-
tive media, postage prepaid, with proof of purchase to:
SYBEX Inc.
Product Support Department
1151 Marina Village Parkway
Alameda, CA 94501
Web:
www.sybex.com
http://www.sybex.com
After the 90-day period, you can obtain replacement media of iden-
tical format by sending us the defective disk, proof of purchase, and
a check or money order for $10, payable to SYBEX.
Disclaimer
SYBEX makes no warranty or representation, either expressed or
implied, with respect to the Software or its contents, quality, per-
formance, merchantability, or fitness for a particular purpose. In no
event will SYBEX, its distributors, or dealers be liable to you or any
other party for direct, indirect, special, incidental, consequential, or
other damages arising out of the use of or inability to use the Soft-
ware or its contents even if advised of the possibility of such damage.
In the event that the Software includes an online update feature,
SYBEX further disclaims any obligation to provide this feature for
any specific duration other than the initial posting.
The exclusion of implied warranties is not permitted by some states.
Therefore, the above exclusion may not apply to you. This warranty
provides you with specific legal rights; there may be other rights
that you may have that vary from state to state. The pricing of the
book with the Software by SYBEX reflects the allocation of risk and
limitations on liability contained in this agreement of Terms and
Conditions.
Reusable Code in This Book
The author(s) created reusable code in this publication expressly for
reuse by readers. Sybex grants readers limited permission to reuse
the code found in this publication, its accompanying CD-ROM or
available for download from our website so long as the author(s) are
attributed in any application containing the reusable code and the
code itself is never distributed, posted online by electronic trans-
mission, sold, or commercially exploited as a stand-alone product.
Shareware Distribution
Software Support
This Software may contain various programs that are distributed as
shareware. Copyright laws apply to both shareware and ordinary
commercial software, and the copyright Owner(s) retains all rights.
If you try a shareware program and continue using it, you are
expected to register it. Individual programs differ on details of trial
periods, registration, and payment. Please observe the require-
ments stated in appropriate files.
Components of the supplemental Software and any offers associ-
ated with them may be supported by the specific Owner(s) of that
material, but they are not supported by SYBEX. Information
regarding any available support may be obtained from the Owner(s)
using the information provided in the appropriate read.me files or
listed elsewhere on the media.
Should the manufacturer(s) or other Owner(s) cease to offer sup-
port or decline to honor any offer, SYBEX bears no responsibility.
This notice concerning support for the Software is provided for
your information only. SYBEX is not the agent or principal of the
Owner(s), and SYBEX is in no way responsible for providing any
support for the Software, nor is it liable or responsible for any sup-
port provided, or not provided, by the Owner(s).
Copy Protection
The Software in whole or in part may or may not be copy-protected
or encrypted. However, in all cases, reselling or redistributing these
files without authorization is expressly forbidden except as specifi-
cally provided for by the Owner(s) therein.
22763807.061.png 22763807.062.png 22763807.063.png 22763807.064.png 22763807.065.png 22763807.066.png 22763807.068.png 22763807.069.png 22763807.070.png 22763807.071.png 22763807.072.png 22763807.073.png 22763807.074.png 22763807.075.png 22763807.076.png 22763807.077.png 22763807.079.png 22763807.080.png 22763807.081.png 22763807.082.png 22763807.083.png 22763807.084.png 22763807.085.png 22763807.086.png 22763807.087.png 22763807.088.png 22763807.090.png 22763807.091.png 22763807.092.png 22763807.093.png 22763807.094.png 22763807.095.png 22763807.096.png 22763807.097.png 22763807.098.png 22763807.099.png 22763807.101.png
Zgłoś jeśli naruszono regulamin