1. Trang chủ
  2. » Công Nghệ Thông Tin

PHP Developer''''s Dictionary- P116 pptx

5 182 0

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 5
Dung lượng 360,56 KB

Nội dung

PHP Developer’s Dictionary IT-SC book 575 Description This option includes Lightweight Directory Access Protocol (LDAP) support. The DIR parameter is the LDAP base install directory and defaults to /usr/local/ldap. with-mcrypt Syntax with-mcrypt=DIR Description This option includes support for the mcrypt library. The DIR option for this command is optional and defines the mcrypt base install directory. with-msql Syntax with-msql=DIR Description This option enables mSQL support in PHP. The DIR parameter specifies the mSQL install directory and defaults to /usr/local . with-mysql Syntax with-mysql=DIR Description This option enables MySQL support in PHP. The DIR parameter specifies the MySQL install directory and defaults to /usr/local . PHP Developer’s Dictionary IT-SC book 576 with-openlink Syntax with-openlink= DIR Description This option includes OpenLink ODBC support. The DIR parameter points to the OpenLink ODBC installation directory and defaults to /usr/local/openlink. with-oracle Syntax with-oracle=DIR Description This option includes Oracle support. The DIR parameter points to the ORACLE_HOME directory. with-pgsql Syntax with-pgsql=DIR Description This option includes PostgreSQL support. The DIR parameter is the PostgreSQL base install directory and defaults to /usr/local/pgsql . with-solid Syntax with-solid=DIR PHP Developer’s Dictionary IT-SC book 577 Description This option includes Solid support. The DIR parameter points to the Solid install directory and defaults to /usr/local/solid . with-sybase Syntax with-sybase=DIR Description This option includes Sybase support. The DIR parameter points to the Sybase install directory and defaults to /home/sybase . with-sybase-ct Syntax with-sybase-ct= DIR Description This option includes Sybase-CT support. The DIR parameter is the Sybase-CT install directory and defaults to /home/sybase . with-system-regex Syntax with-system-regex Description This option uses the system's regular expression library rather than one that is included in the PHP installation. Enable this if the system's library provides special features you need. with-velocis PHP Developer’s Dictionary IT-SC book 578 Syntax with-velocis=DIR Description This option includes Velocis support. The DIR parameter points to the Velocis install directory and defaults to /usr/local/velocis . with-xml Syntax with-xml Description This option includes support for a nonvalidating XML parser. Support for this function is included in the PHP distribution. PHP Developer’s Dictionary IT-SC book 579 Chapter 13. PHP Directives This chapter outlines the many configurable options that you can set to affect the behavior of the PHP scripting engine. These options, which are referred to as directives, can be found in the php.ini or php3.ini file and also in the Apache Web server's configuration and .htaccess files when used as an Apache module. The location of the php.ini file where most of the directives are found is dependent on the operating system you are using. The syntax for a directive is name=value, and it is important to note that the directive names are case sensitive. Note that for Boolean values, '1','True', 'Yes', and 'On' are equivalent values. Also '0','False','No', and 'Off' are equivalent. A value of 'none' (without quotes) should be used to indicate an empty string. Last, you can use phpinfo() to view all settings and get_cfg_var() to view an individual setting. General The following directives are used to affect the overall behavior of the PHP engine. asp_tags Syntax asp_tags boolean Description The asp_tags directive allows you to indicate PHP code in a source file by wrapping the code in Active Server Pages–style HTML tags. ASP code is indicated by the <% and %> tags. The default tags ( <?PHP and ?> ) are still available. The ASP language shortcut for printing variable contents (<%=$variable %>) is also supported when this option is set. The default value for this directive is Off. The following sets of code generate the equivalent output when asp_tags is turned On. <?PHP $text = "Hello World!"; echo $text; ?> and <% $text = "Hello World!"; %> <%=$text%> auto_append_file . XML parser. Support for this function is included in the PHP distribution. PHP Developer’s Dictionary IT-SC book 579 Chapter 13. PHP Directives This chapter outlines the many configurable. you can set to affect the behavior of the PHP scripting engine. These options, which are referred to as directives, can be found in the php. ini or php3 .ini file and also in the Apache Web server's. in PHP. The DIR parameter specifies the mSQL install directory and defaults to /usr/local . with-mysql Syntax with-mysql=DIR Description This option enables MySQL support in PHP.

Ngày đăng: 07/07/2014, 05:20