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.
Search Criteria
Package Details: php-pear 1:1.10.24-1
Package Actions
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.000000 |
First Submitted: | 2016-01-03 12:32 (UTC) |
Last Updated: | 2024-12-01 14:17 (UTC) |
Dependencies (1)
Required by (7)
- fusiondirectory
- pear-channel-phpseclib
- pear-http-request2
- pear-net-ldap3
- pear-net-url2 (make)
- php-net-ipv4 (make)
- php-net-ipv6 (make)
Sources (2)
mitchhentges commented on 2016-03-29 08:08 (UTC) (edited on 2016-03-29 08:09 (UTC) by mitchhentges)
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?
Pinned Comments