apache_get_version

(PHP 4 >= 4.3.2, PHP 5, PHP 7) Fetch Apache version string apache_get_version ( void ) Fetch the Apache version. Returns: Returns the Apache version on success or FALSE on failure. Examples: apache_get_version() example <?php $version = apache_get_version(); echo "$version\n"; ?> The above example will output

apache_get_modules

(PHP 4 >= 4.3.2, PHP 5, PHP 7) Get a list of loaded Apache modules array apache_get_modules ( void ) Get a list of loaded Apache modules. Returns: An array of loaded Apache modules. Changelog: 5.0.0 Became available when using Apache 1, or the PHP Apache 2 filter API. Before this time, it was only available when using the Apache 2 handler

apache_child_terminate

(PHP 4 >= 4.0.5, PHP 5, PHP 7) Terminate apache process after this request bool apache_child_terminate ( void ) apache_child_terminate() will register the Apache process executing the current PHP request for termination once execution of PHP code is completed. It may be used to terminate a process after a script with high memory consumption has been run as memory will usually only be freed internally but not given back to

SwishSearch::setStructure

(PECL swish >= 0.1.0) Set the structure flag in the search object void SwishSearch::setStructure ( int $structure ) Parameters: structure The structure flag a bitmask is used to limit search to certain parts of HTML documents (like title, meta, body etc.). Its possible values are listed below. To combine several values use bitwise OR operator, see example below.

SwishSearch::setSort

(PECL swish >= 0.1.0) Set the sort order void SwishSearch::setSort ( string $sort ) Parameters: sort Sort order of the results is a string containing name of a result property combined with sort direction ("asc" or "desc"). Examples: "swishrank desc", "swishdocpath asc", "swishtitle asc", "swishdocsize desc", "swishlastmodified desc" etc. Returns:

SwishSearch::setPhraseDelimiter

(PECL swish >= 0.1.0) Set the phrase delimiter void SwishSearch::setPhraseDelimiter ( string $delimiter ) Parameters: delimiter Phrase delimiter character. The default delimiter is double-quotes. Returns: No value is returned. This function is EXPERIMENTAL. The behaviour of this function, its name, and surro

SwishSearch::setLimit

(PECL swish >= 0.1.0) Set the search limits void SwishSearch::setLimit ( string $property, string $low, string $high ) Parameters: property Search result property name. low The lowest value of the property. high The highest value of the property. Returns: No value is return

SwishSearch::resetLimit

(PECL swish >= 0.1.0) Reset the search limits void SwishSearch::resetLimit ( void ) Reset the search limits previous set by SwishSearch::setLimit. Returns: No value is returned. This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be

SwishSearch::execute

(PECL swish >= 0.1.0) Execute the search and get the results object SwishSearch::execute ([ string $query ] ) Searches the index file(s) based on the parameters set in the search object. Parameters: query The query string is an optional parameter, it can be also set using Swish::prepare() method. The query string is preserved between executions, so you can set it once,

SwishResults::seekResult

(PECL swish >= 0.1.0) Set current seek pointer to the given position int SwishResults::seekResult ( int $position ) Parameters: position Zero-based position number. Cannot be less than zero. Returns: Returns new position value on success. This function is EXPERIMENTAL. The behaviour of this function, its name