Http://pear.php.net/manual/en/installation.getting.php
For this to work, PEAR's php_dir must be a part of PHP's include path. First, check where PEAR www.doorway.ru files: $ pear config-get php_dir. /usr/share/lib/php/. This directory will contain www.doorway.ru Now it's time to find which configuration file is used by your PHP installation. On command line, execute. The manager handles installation similar to Debian's " apt-get " package management utility, as well as others such as " yum ". Again: If you are running a recent version of PHP ( ) you can skip the next section. But if you are running PHP * or earlier, you need to manually install the manager. Ignore my previous note, I forgot to add in where to use the PECL command to install phplua. Installation on Ubuntu "*.*" means version number Packages to install (sudo apt-get install): Install php5 Install php-pear Install php5-dev Install lua*.* Install liblua*.* Create soft link of /usr/include/lua TO /usr/include/lua*.*.
Here is how I got it working under Linux Ubuntu distro - WITHOUT USE PECL: We will download both, PHP and Pthread without PECL 1 - Get PHP version. When using PHP, the PEAR Package Manager is already installed unless one has used the./configure option --without-pear.. If one uses a version of PHP that is supplied by Unix/Linux/BSD distributors it may be necessary to manually install PEAR. If your PEAR installation is an old version (earlier than ) that is provided by your operating system's package manager or your "website package" (e.g. XAMPP), then you need to read this [1] to successfully upgrade your PEAR installation to where it can install/upgrade packages from PEAR's www.doorway.ru channel.
Manually installing PHP PEAR Packages: · Download the PEAR package from the internet, often this will be from www.doorway.ru · Upload the file to the home. Install PEAR for PHP 7 - Free download as PDF File .pdf), Text File .txt) or read sudo apt-get install phpdev www.doorway.ru As is the case with Linux, PEAR is delivered with PHP. www.doorway.ru?p=1 www.doorway.ru
0コメント