PECL help
Old
  (#1)
Mike Payson
Guest
 
Posts: n/a
Default PECL help - 05-14-2007, 03:54 AM

I'm trying to install the extension runkit on my shared server. I
successfully installed a local copy of PEAR via the instructions at
http://pear.php.net/manual/en/installation.shared.php. Here is the resulting
configuration:

Configuration (channel pear.php.net):
=====================================
Auto-discover new Channels auto_discover <not set>
Default Channel default_channel pear.php.net
HTTP Proxy Server Address http_proxy <not set>
PEAR server [DEPRECATED] master_server pear.php.net
Default Channel Mirror preferred_mirror pear.php.net
Remote Configuration File remote_config <not set>
PEAR executables directory bin_dir /home/maximumr/pear/pear
PEAR documentation directory doc_dir
/home/maximumr/pear/pear/docs
PHP extension directory ext_dir /home/maximumr/pear/pear/ext
PEAR directory php_dir /home/maximumr/pear/pear/php
PEAR Installer cache directory cache_dir
/home/maximumr/pear/pear/cache
PEAR data directory data_dir
/home/maximumr/pear/pear/data
PEAR Installer download download_dir /tmp/pear/cache
directory
PHP CLI/CGI binary php_bin /usr/local/bin/php
php.ini location php_ini <not set>
PEAR Installer temp directory temp_dir /tmp/pear/temp
PEAR test directory test_dir
/home/maximumr/pear/pear/tests
Cache TimeToLive cache_ttl 3600
Preferred Package State preferred_state stable
Unix file mask umask 22
Debug Log Level verbose 1
PEAR p***word (for p***word <not set>
maintainers)
Signature Handling Program sig_bin /usr/bin/gpg
Signature Key Directory sig_keydir /usr/local/etc/pearkeys
Signature Key Id sig_keyid <not set>
Package Signature Type sig_type gpg
PEAR username (for username <not set>
maintainers)
User Configuration File Filename /home/maximumr/.pearrc
System Configuration File Filename /usr/local/etc/pear.conf

However when I try to install runit, I get an error:

bash-3.00$ pecl install runkit-beta
downloading runkit-0.9.tgz ...
Could not download from "http://pecl.php.net/get/runkit-0.9.tgz", cannot
download "pecl/runkit" (could not open /tmp/pear/cache/runkit-0.9.tgz for
writing)
Error: cannot download "pecl/runkit"

The directory /tmp/pear is owned by root, so I can't make changes to it. If
I try to change the temp-dir to something that works, I get another error:

bash-3.00$ pear config-set temp-dir ~/tmp
config-set (temp-dir, /home/maximumr/tmp, user) failed, channel pear.php.net

How can I make this work?

   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: [PHP] PECL help
Old
  (#2)
Richard Lynch
Guest
 
Posts: n/a
Default Re: [PHP] PECL help - 05-14-2007, 03:54 AM

On Sun, March 18, 2007 9:28 pm, Mike Payson wrote:
> I'm trying to install the extension runkit on my shared server. I


Errrr.

I don't think you want to do that...

I mean, it's just going to be WAY too easy to crash things in a Big
Way and have your webhost very angry with you...

Set it up on your own "dedicated" box in your house or something.

A 386 out of the computer graveyard would be fine, most likely.

--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: [PHP] PECL help
Old
  (#3)
Mike Payson
Guest
 
Posts: n/a
Default Re: [PHP] PECL help - 05-14-2007, 03:55 AM

PHP runs as CGI, so it shouldn't cause any problem other then possibly with
my script-- or am I missing something?

On 3/19/07, Richard Lynch <EMAIL REMOVED> wrote:
>
> On Sun, March 18, 2007 9:28 pm, Mike Payson wrote:
> > I'm trying to install the extension runkit on my shared server. I

>
> Errrr.
>
> I don't think you want to do that...
>
> I mean, it's just going to be WAY too easy to crash things in a Big
> Way and have your webhost very angry with you...
>
> Set it up on your own "dedicated" box in your house or something.
>
> A 386 out of the computer graveyard would be fine, most likely.
>
> --
> Some people have a "gift" link here.
> Know what I want?
> I want you to buy a CD from some starving artist.
> http://cdbaby.com/browse/from/lynch
> Yeah, I get a buck. So?
>
>


   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Contact Us - Forum Care Forums - Archive - Top