Package Details: php-pear 1:1.10.23-2

Git Clone URL: https://aur.archlinux.org/php-pear.git (read-only, click to copy)
Package Base: php-pear
Description: PHP Extension and Application Repository
Upstream URL: https://pear.php.net/package/pearweb_phars/
Licenses: PHP
Submitter: Pierre
Maintainer: amish
Last Packager: amish
Votes: 42
Popularity: 0.000026
First Submitted: 2016-01-03 12:32 (UTC)
Last Updated: 2024-03-12 08:06 (UTC)

Pinned Comments

Latest Comments

« First ‹ Previous 1 2 3 4 5

lilmike commented on 2017-05-02 03:49 (UTC)

Looks like the latest install-pear-nozlib.phar isn't passing the validity check.

helirexi commented on 2017-04-26 20:06 (UTC) (edited on 2017-04-26 20:08 (UTC) by helirexi)

Actual md5 checksum "f932351ea1562343c8f25b71cb88f328" for "install-php-pear-nozlib.phar" as 4 today. Corr it in PKGBUILD and i'll fine.

<deleted-account> commented on 2017-03-11 14:00 (UTC)

Unable to install it due to some validity check. It seems the md5sums field needs to be updated in the PKGBUILD. At the moment the actual md5 checksum is "0c3206e8d443c32ae5b938f2d7fa4589" for install-php-pear-nozlib.phar.

PreparationH67 commented on 2016-04-29 18:48 (UTC)

The PKGBUILD as written isn't installing correctly to the pkgdir and is silently failing to install to the actual root FS in the package function. The following changes allowed the package to build successfully. INSTALL_ROOT=$pkgdir/ \ php -n ${srcdir}/install-pear-nozlib.phar \ -d usr/share/pear \ -b usr/bin rm -rf ${pkgdir}/.{channels,depdb,depdblock,filemap,lock,registry}

chetwisniewski commented on 2016-04-26 22:20 (UTC)

I had to do: sudo touch /usr/share/pear/.lock to get it to install.

mitchhentges commented on 2016-03-29 08:08 (UTC) (edited on 2016-03-29 08:09 (UTC) by mitchhentges)

I had to follow http://stackoverflow.com/a/10253935/5226004 to get this working with `phing`. Other packages probably don't work as well, but `phing` is the only php tool I know of through PEAR (so far ;). Perhaps this should add a file `pear.ini` to `/etc/php/conf.d/` with the following configuration: ``` include_path = ".:/usr/share/pear" ``` That fixed it for me.

Enverex commented on 2016-01-07 22:51 (UTC)

Yeah, this doesn't appear to work at all right now. It thinks it has installed but hasn't.

tarasis commented on 2016-01-07 15:17 (UTC)

Trying to upgrade to this version and getting this on the console: ==> Starting package()... Notice: Undefined variable: metadata_dir in phar:///tmp/yaourt-tmp-rob/aur-php-pear/install-pear-nozlib.phar/index.php on line 255 Warning: touch(): Unable to create file /usr/share/pear/.lock because Permission denied in phar:///tmp/yaourt-tmp-rob/aur-php-pear/install-pear-nozlib.phar/PEAR/Registry.php on line 834 [PEAR] Archive_Tar: Unknown channel "pear.php.net" [PEAR] Archive_Tar: Parsing of package.xml from file "/tmp/pear/temp/pearzaf3MA/package.xml" failed Warning: touch(): Unable to create file /usr/share/pear/.lock because Permission denied in phar:///tmp/yaourt-tmp-rob/aur-php-pear/install-pear-nozlib.phar/PEAR/Registry.php on line 834 [PEAR] Console_Getopt: Unknown channel "pear.php.net" [PEAR] Console_Getopt: Parsing of package.xml from file "/tmp/pear/temp/pearp8VKcv/package.xml" failed Warning: touch(): Unable to create file /usr/share/pear/.lock because Permission denied in phar:///tmp/yaourt-tmp-rob/aur-php-pear/install-pear-nozlib.phar/PEAR/Registry.php on line 834 [PEAR] Structures_Graph: Unknown channel "pear.php.net" [PEAR] Structures_Graph: Parsing of package.xml from file "/tmp/pear/temp/pearPQ12Dp/package.xml" failed Warning: touch(): Unable to create file /usr/share/pear/.lock because Permission denied in phar:///tmp/yaourt-tmp-rob/aur-php-pear/install-pear-nozlib.phar/PEAR/Registry.php on line 834 [PEAR] XML_Util: Unknown channel "pear.php.net" [PEAR] XML_Util: Parsing of package.xml from file "/tmp/pear/temp/pearR0X76j/package.xml" failed Warning: touch(): Unable to create file /usr/share/pear/.lock because Permission denied in phar:///tmp/yaourt-tmp-rob/aur-php-pear/install-pear-nozlib.phar/PEAR/Registry.php on line 834 [PEAR] PEAR: Unknown channel "pear.php.net" [PEAR] PEAR: Parsing of package.xml from file "/tmp/pear/temp/pear9AxnEe/package.xml" failed I have checked in /usr/share/pear and there is no lock file. Is the package safe to install despite that warning?