Go to project page, or browse SVN tree or download the packages.
The PEAR-package project page is a home for experimental PHP packages for Debian and Ubuntu distros.
If you want to test the packages, add the following lines to the /etc/apt/sources.list:
# PHP for Debian sid deb http://people.debian.org/~dexter all sid deb-src http://people.debian.org/~dexter all sid # PHP for Debian sarge deb http://people.debian.org/~dexter all sarge deb-src http://people.debian.org/~dexter all sarge # PHP for Ubuntu hoary deb http://people.debian.org/~dexter all hoary deb-src http://people.debian.org/~dexter all hoary
The make-pear-pkg is a tool for preparing the Debian source package from PEAR package.
An example session:
$ sudo apt-get install pear-package [...] $ apt-get source php5 Reading Package Lists... Done [...] dpkg-source: extracting php5 in php5-5.0.3 $ cd php5-5.0.3/ext/dbase/ $ pear package package.xml Package /tmp/php/php5-5.0.3/ext/dbase/dbase-5.0rc1.tgz done $ make-pear-pkg dbase-5.0rc1.tgz package.xml [...] `php5-dbase-5.0rc1' -> `.././php5-dbase-5.0rc1' `php5-dbase-5.0rc1.orig' -> `.././php5-dbase-5.0rc1.orig' $ cd php5-dbase-5.0rc1 $ debuild -us -uc dpkg-buildpackage: source package is php5-dbase dpkg-buildpackage: source version is 5.0rc1-0.1 [...] dpkg-genchanges: including full source code in upload dpkg-buildpackage: full upload (original source is included) $ dpkg -I php5-dbase_*.deb new debian package, version 2.0. size 13874 bytes: control archive= 854 bytes. 811 bytes, 18 lines control 354 bytes, 5 lines md5sums Package: php5-dbase Version: 5.0rc1-0.1 [...]
The make-pear-pkg tools works with PEAR (pure PHP) and PECL (binary extension modules) packages.
It requires to work a set of tools:
(c) 2004-2005 Piotr Roszatycki <dexter@debian.org>