PHP Developer’s Dictionary IT-SC book 590 browscap Syntax browscap string Description The browscap directive specifies the name of the file that should be used for determining a particular browser's capabilities based on its agent string. The get_browser() function is used to retrieve values from the browscap file. Mail PHP can be configured to interface with a mail system. The mail system needs to support the SMTP protocol to work with PHP. SMTP Syntax SMTP string Description The SMTP directive specifies the host (either IP address or hostname) through which Windows should route mail when the mail() function is utilized. This function is used only with Windows. The default is localhost. sendmail_from Syntax sendmail_from string Description The sendmail_from directive specifies the sender's name for mail sent using the mail() function and works only with Windows. The default is me@localhost.com. PHP Developer’s Dictionary IT-SC book 591 sendmail_path Syntax sendmail_path string Description The sendmail_path directive specifies the location of the sendmail program on UNIX systems, which is typically /usr/sbin/sendmail or /usr/lib/sendmail. This directive is set during the configure step of building PHP as a default, but can be altered. If the mail program you are using supports a sendmail type reference, it can be utilized using this directive. You may also supply arguments with the path and the default value is sendmail – t. Database PHP has separate but similar configuration file directives for each database version that it supports. MySQL mysql.allow_persistent Syntax mysql.allow_persistent boolean Description The mysql.allow_persistent directive specifies whether persistent connections should be used with MySQL databases. Persistent connections typically improve overall performance and should be used when possible, but are not available when PHP is run as a CGI program. The default value is On. mysql.default_host Syntax mysql.default_host string PHP Developer’s Dictionary IT-SC book 592 Description The mysql.default_host directive specifies the hostname to which connections should be made if a hostname is not specified in the connection string. The default value is none. mysql.default_user Syntax mysql.default_user string Description The mysql.default_user directive specifies the username that a connection should use if one is not defined in the connection string. The default value is none. mysql.default_password Syntax mysql.default_password string Description The mysql.default_password directive specifies the password that a connection should use if one is not defined in the connection string. The default value is none. mysql.max_persistent Syntax mysql.max_persistent integer Description The mysql.max_persistent directive specifies the maximum allowable number of persistent connections per process when connecting to a MySQL database. The default value is –1, which indicates unlimited. mysql.max_links PHP Developer’s Dictionary IT-SC book 593 Syntax mysql.max_links integer Description The mysql.max_links directive specifies the total number of connections that a single process can have, including both persistent and nonpersistent connections. The default value is –1, which indicates unlimited. mSQL msql.allow_persistent Syntax msql.allow_persistent boolean Description The msql.allow_persistent directive specifies whether persistent mSQL connections should be used. Persistent connections typically improve overall performance and should be used when possible, but are not available when PHP is run as a CGI program. The default value is On. msql.max_persistent Syntax msql.max_persistent integer Description The msql.max_persistent directive specifies the maximum number of persistent connections allowed per process. The default value is –1, which indicates unlimited. msql.max_links Syntax PHP Developer’s Dictionary IT-SC book 594 msql.max_links integer Description The msql.max_links directive specifies the total number of connections allowed per process. This includes both persistent and nonpersistent connections. The default value is –1, which indicates unlimited. Postgres pgsql.allow_persistent Syntax pgsql.allow_persistent boolean Description The pgsql.allow_persistent directive specifies whether persistent connections should be used when connecting to a Postgres database. Persistent connections typically improve overall performance and should be used when possible, but are not available when PHP is run as a CGI program. The default value is On. pgsql.max_persistent Syntax pgsql.max_persistent integer Description The pgsql.max_persistent directive specifies the maximum number of persistent connections allowed per process. The default value is –1, which indicates unlimited. pgsql.max_links Syntax pgsql.max_links integer . values from the browscap file. Mail PHP can be configured to interface with a mail system. The mail system needs to support the SMTP protocol to work with PHP. SMTP Syntax SMTP string . possible, but are not available when PHP is run as a CGI program. The default value is On. mysql.default_host Syntax mysql.default_host string PHP Developer’s Dictionary IT-SC book. sent using the mail() function and works only with Windows. The default is me@localhost.com. PHP Developer’s Dictionary IT-SC book 591 sendmail_path Syntax sendmail_path string Description