Application of Php-pear

Source: Internet
Author: User
Tags pear php framework
Use of Php-pear
Recently to install Centreon, its system requires a lot of pear packages.
Checked, the original pear is an official PHP framework, probably similar to the official Python library and Ruby Gem bar?
A variety of PHP development tools can be installed under Linux with the pear install.

Install pear under Linux
Reference

$ wget Http://pear.php.net/go-pear.phar
$ PHP Go-pear.phar



But pear is not as convenient as Yum, I try to run:
Reference

Pear Install-o DB db_dataobject db_dataobject_formbuilder Validate MDB2 Date html_common html_quickform html_quickform_a Dvmultiselect html_table archive_tar auth_sasl console_getopt net_socket net_traceroute Net_Ping XML_RPC SOAP


-O indicates that only required dependencies are installed
The last error, said validate this package has no stable version.
Go to Pear official website to see, validate this package starts with the Alpha 0.0.2 version, until now the 0.8.4, actually has been the beta version ...

Workaround:
Use pear install-f channel://pear.php.net/validate-0.8.4
-F means forced installation

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.