12.9. String Substitutions
It is possible to set up replacements, or substitutions, that are performed on files when installed. This is useful to keep default path names and other configuration data in sync with the user's PEAR configuration, to invoke PHP with the right PATH, and more.
12.9.1. Element: <replace>
to (required)type (required)
|May occur in:||file (optional)|
The replace element specifies a substitution that is performed for the containing file during installation. All occurrences of the from attribute in the file are replaced with a string represented by the to and type attributes. The type attribute may have one of these values:
php-const. from is replaced by the value of the PHP constant ...