Home > PHP > PHP – pear

PHP – pear

Pear install
================
1. lynx
2. lynx -source http://pear.php.net/go-pear | php
3. pear version
4. pear config-get php_dir

Package install:
================
[root@shamun ~]# pear search Spreadsheet
Retrieving data…0%
Matched packages, channel pear.php.net:
=======================================
Package Stable/(Latest) Local
Spreadsheet_Excel_Writer 0.9.2 (beta) Package for generating Excel spreadshee ts (.xls)

[root@shamun ~]# pear install Spreadsheet_Excel_Writer
downloading Spreadsheet_Excel_Writer-0.9.2.tgz …
Starting to download Spreadsheet_Excel_Writer-0.9.2.tgz (57,629 bytes)
…………..done: 57,629 bytes
downloading OLE-1.0.0RC1.tgz …
Starting to download OLE-1.0.0RC1.tgz (12,153 bytes)
…done: 12,153 bytes
install ok: channel://pear.php.net/OLE-1.0.0RC1
install ok: channel://pear.php.net/Spreadsheet_Excel_Writer-0.9.2

[root@shamun ~]# pear list
Installed packages, channel pear.php.net:
=========================================
Package Version State
Archive_Tar 1.3.5 stable
Console_Getopt 1.2.3 stable
OLE 1.0.0RC1 beta
PEAR 1.9.0 stable
Spreadsheet_Excel_Writer 0.9.2 beta
Structures_Graph 1.0.3 stable
[root@shamun ~]#

Advertisements
Categories: PHP Tags:
  1. July 11, 2011 at 7:26 am

    this will work

    # pear install channel://pear.php.net/ole-1.0.0RC1
    # pear install channel://pear.php.net/Spreadsheet_Excel_Writer-0.9.2

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: