PHP and MySQL by Example- P17

Chia sẻ: Thanh Cong | Ngày: | Loại File: PDF | Số trang:2

0
39
lượt xem
8
download

PHP and MySQL by Example- P17

Mô tả tài liệu
  Download Vui lòng tải xuống để xem tài liệu đầy đủ

Tham khảo tài liệu 'php and mysql by example- p17', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả

Chủ đề:
Lưu

Nội dung Text: PHP and MySQL by Example- P17

  1. E.7. Configuring php.ini (All Platforms) Everything about the behavior of your PHP environment is set up in the file php.ini. On the Windows system, this file is usually located in the C:\Windows\ directory. On Mac OS X and other UNIX-based platforms, this file is in the /etc/ directory. You can edit this file directly with an editor such as Notepad on Windows or TextEdit on Mac OS X and vi or emacs on most UNIX platforms. If you modify the php.ini file with an editor, you will notice that it is just a text file consisting of name=value lines, also known as name–value pairs. Lines that start with a semicolon are comments and are ignored by the system. To change the behavior of your PHP environment, simply change the appropriate value in the php.ini file. Table E.1 lists some of the more common configuration options. Table E.1. php.ini Configuration Options Option Explanation short_open_tag If this is on, you can use a short tag to indicate the beginning of a PHP code
  2. E.9. Installing MySQL on Linux/UNIX For Linux platforms, the MySQL Server is provided as an RPM package. Most Linux platforms will have an RPM package manager provided for installation of this package. Detailed Linux installation instructions can be found at http://dev.mysql.com/doc/refman/5.0/en/linux-rpm.html. E.10. Installing MySQL on Mac OS X To install MySQL Server on Mac OS X, please visit http://dev.mysql.com/doc/refman/5.0/en/mac-os-x-installation.html E.11. Read the Manual The installation instructions change from version to version. If you run into problems, please read the manual that comes with the download archive. Configuration settings that were turned on in the past, might now be turned off, and although the directory structure might change, the manual is usually up to date. Look for a file called README or INSTALL. They are usually text files and contain all the installation details. CD-ROM Warranty Prentice Hall PTR warrants the enclosed CD-ROM to be free of defects in materials and faulty workmanship under normal use for a period of ninety days after purchase (when purchased new). If a defect is discovered in the CD-ROM during this warranty period, a replacement CD-ROM can be obtained at no charge by sending the defective CD-ROM, postage prepaid, with proof of purchase to: Disc Exchange Pearson Technology Group 75 Arlington Street, Suite 300 Boston, MA 02116 Email: AWPro@aw.com Prentice Hall PTR makes no warranty or representation, either expressed or implied, with respect to this software, its quality, performance, merchantability, or fitness for a particular purpose. In no event will Prentice Hall, its distributors, or dealers be liable for direct, indirect, special, incidental, or consequential damages arising out of the use or inability to use the software. The exclusion of implied warranties is not permitted in 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 contents of this CD-ROM are intended for personal use only. More information and updates are available at: http://www.phptr.com/ Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.
Đồng bộ tài khoản