| ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
Introduction: it's simpleInstalling Pyrus is much simpler than installing PEAR. Installing PEAR requires downloading a separate installation and installing PEAR before you can use it to install any packages. To install pyrus, you must follow two simple steps:
The first time pyrus is run on your system, it will ask where you would like to install packages. After this, one can simply use it. To match PEAR, it is also possible to create a convenience script for accessing pyrus. Here is a sample script for unix systems:
#!/bin/bash /usr/local/bin/php -dphar.readonly=0 /home/username/pyrus.phar $*
If your system has open_basedir enabled, the script should instead look like:
#!/bin/bash /usr/local/bin/php -dphar.readonly=0 -dopen_basedir= -dsafe_mode= /home/username/pyrus.phar $*
Windows users can create a batch file similar to the unix script named pyrus.bat:
@ECHO OFF C:\php5\php -dphar.readonly=0 -dopen_basedir= -dsafe_mode= C:\php5\pyrus.phar %*
Place the shell script (on unix) or batch file (on windows) in your path, and then you can run commands like so:
|
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「Introduction: it's simple」をGoogle検索
|