root@localhost:~# pear
Commands:
build Build an Extension From C Source
bundle Unpacks a Pecl Package
channel-add Add a Channel
channel-alias Specify an alias to a channel name
channel-delete Remove a Channel From the List
channel-discover Initialize a Channel from its server
channel-info Retrieve Information on a Channel
channel-login Connects and authenticates to remote channel server
channel-logout Logs out from the remote channel server
channel-update Update an Existing Channel
clear-cache Clear Web Services Cache
config-create Create a Default configuration file
config-get Show One Setting
config-help Show Information About Setting
config-set Change Setting
config-show Show All Settings
convert Convert a package.xml 1.0 to package.xml 2.0 format
cvsdiff Run a "cvs diff" for all files in a package
cvstag Set CVS Release Tag
download Download Package
download-all Downloads each available package from the default channel
info Display information about a package
install Install Package
list List Installed Packages In The Default Channel
list-all List All Packages
list-channels List Available Channels
list-files List Files In Installed Package
list-upgrades List Available Upgrades
login Connects and authenticates to remote server [Deprecated in favor of channel-login]
logout Logs out from the remote server [Deprecated in favor of channel-logout]
makerpm Builds an RPM spec file from a PEAR package
package Build Package
package-dependencies Show package dependencies
package-validate Validate Package Consistency
pickle Build PECL Package
remote-info Information About Remote Packages
remote-list List Remote Packages
run-scripts Run Post-Install Scripts bundled with a package
run-tests Run Regression Tests
search Search remote package database
shell-test Shell Script Test
sign Sign a package distribution file
svntag Set SVN Release Tag
uninstall Un-install Package
update-channels Update the Channel List
upgrade Upgrade Package
upgrade-all Upgrade All Packages [Deprecated in favor of calling upgrade with no parameters]
Usage: pear [options] command [command-options] <parameters>
Type "pear help options" to list all options.
Type "pear help shortcuts" to list all command shortcuts.
Type "pear help <command>" to get the help for the specified command.
root@localhost:~#
собственно за понятием этого вопроса я и пришел сюда :(
тут то оно как получается.
Checking required file permissions:
includes/config.inc.php OK
modules/TS3Admin/templates_c OK
Checking PHP version.
PHP Version >= 5.1.2 5.3.3-7+squeeze14
Checking required modules
PHP XML-RPC module Found
PHP Curl module Found
PHP XML Reader Found
PHP JSON Extension Found
Pear XXTEA Found
Pear Not Found
все модули конкретно подписаны типо PHP Curl module
А это тупо вписан Pear Not Found
я даже проверил путь верно прописан.
да и работает вроде
text
root@localhost:~# grep "include_path" /etc/php5/cli/php.ini
; (directory must also be in include_path or full path must
;include_path = ".:/usr/share/php"
;include_path = ".;c:\php\includes"
; PHP's default setting for include_path is ".;/path/to/php/pear"
include_path = ".:/usr/share/php/PEAR/"
Rassol2,
тот конфиг, что правите (/etc/php5/cli/php.ini), и тот, что использует вызванный из apache php -- суть разные файлы, другого объяснения не вижу.
еще не приступил к манипуляциям , и решил проверить php info
а там тоже самое.
кажется что все что было сделано зря )))
даже
Показать
text
root@localhost:~# pear
Commands:
build Build an Extension From C Source
bundle Unpacks a Pecl Package
channel-add Add a Channel
channel-alias Specify an alias to a channel name
channel-delete Remove a Channel From the List
channel-discover Initialize a Channel from its server
channel-info Retrieve Information on a Channel
channel-login Connects and authenticates to remote channel server
channel-logout Logs out from the remote channel server
channel-update Update an Existing Channel
clear-cache Clear Web Services Cache
config-create Create a Default configuration file
config-get Show One Setting
config-help Show Information About Setting
config-set Change Setting
config-show Show All Settings
convert Convert a package.xml 1.0 to package.xml 2.0 format
cvsdiff Run a "cvs diff" for all files in a package
cvstag Set CVS Release Tag
download Download Package
download-all Downloads each available package from the default channel
info Display information about a package
install Install Package
list List Installed Packages In The Default Channel
list-all List All Packages
list-channels List Available Channels
list-files List Files In Installed Package
list-upgrades List Available Upgrades
login Connects and authenticates to remote server [Deprecated in favor of channel-login]
logout Logs out from the remote server [Deprecated in favor of channel-logout]
makerpm Builds an RPM spec file from a PEAR package
package Build Package
package-dependencies Show package dependencies
package-validate Validate Package Consistency
pickle Build PECL Package
remote-info Information About Remote Packages
remote-list List Remote Packages
run-scripts Run Post-Install Scripts bundled with a package
run-tests Run Regression Tests
search Search remote package database
shell-test Shell Script Test
sign Sign a package distribution file
svntag Set SVN Release Tag
uninstall Un-install Package
update-channels Update the Channel List
upgrade Upgrade Package
upgrade-all Upgrade All Packages [Deprecated in favor of calling upgrade with no parameters]
Usage: pear [options] command [command-options] <parameters>
Type "pear help options" to list all options.
Type "pear help shortcuts" to list all command shortcuts.
Type "pear help <command>" to get the help for the specified command.
работает, такое впечатление что действительно это какой то другое ФрУкТ
ну или проблема в Apache2-mpm-itk он не может работать от бесправного юсера.
выбрал этот апач потому что его прицеп работы мне показался более логичным. Хотя толком не задавался целью определить что луче.
Rassol2,
тот конфиг, что правите (/etc/php5/cli/php.ini), и тот, что использует вызванный из apache php -- суть разные файлы, другого объяснения не вижу.
Еврека, как говорится ни в бровь а в глаз
text
root@localhost:~# grep 'include_path' /etc/php5/apache2/php.ini
; (directory must also be in include_path or full path must
;include_path = ".:/usr/share/php"
;include_path = ".;c:\php\includes"
; PHP's default setting for include_path is ".;/path/to/php/pear"
шас попробуем этот поковырять )))
Хотя непонятно если все говорит о том что работает. Кроме скрипта.