Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 17384 программиста и 1685 роботов. Сейчас ищут 2066 программистов ...

PEAR_Installer::install

Вернуться к: PEAR_Installer

PEAR_Installer::install

PEAR_Installer::install() – Installs package files

Synopsis

require_once 'PEAR/Installer.php';

array PEAR_Installer::install ( string $pkgfile , array $options = array() )

Installs the files within the package file specified.

Parameter

string $pkgfile

path to the package file

array $options

installating options, to enable an option use the option name as array key and TRUE or 1 as value.

  • $options['force'] = 1 - force installation

  • $options['register-only'] = 1 - update registry but don't install files

  • $options['upgrade'] = 1 - upgrade existing install

  • $options['soft'] = 1 - fail silently

Return value

array package info if successful

Throws

Possible PEAR_Error values
Error code Error value Meaning Solution
"

Note

This function can not be called statically.



Вернуться к: PEAR_Installer

© 2025 «PHP.RU — Сообщество PHP-Программистов»
Главная | Форум | Реклама на сайте | Контакты VIP Сувениры
Разработка компании ODware