Problem with shared server install of PEAR
| From: | Kim Johnson | Date: | Mon, 05 Mar 2007 17:01:30 +0000 |
| Subject: | Problem with shared server install of PEAR | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-26730@lists.php.net to get a copy of this message | ||
I'm completely stuck on getting PEAR set up and would
greatly appreciate help.
Steps I took:
1. Create pear directory
2. Upload go-pear.php into directory
3. Run go-pear.php
The only result failure:
Starting installation ...
Loading zlib: ok
Downloading package: PEAR-stable......ok
Downloading package: Archive_Tar-stable....ok
Downloading package: Console_Getopt-stable....ok
Downloading package: Structures_Graph-stable....ok
Downloading package: HTML_Template_IT-stable....ok
Downloading package: Net_UserAgent_Detect-stable....ok
Downloading package: PEAR_Frontend_Web-alpha....ok
Bootstrapping: PEAR...................(remote) ok
Bootstrapping: Archive_Tar............(remote) ok
Bootstrapping: Console_Getopt.........(remote) ok
Bootstrapping: Console_Getopt.........
Warning: mkdir() [function.mkdir]: File exists in
/home/anime/public_html/pear/go-pear.php on line 716
(remote) ok
Extracting installer..................ok
[etc...]
4. Updated local .htaccess file:
<IfModule mod_php5.c>
php_value include_path
".:/home/anime/public_html/pear/PEAR"
</IfModule>
(anime is the username on my account, this is the
right path... I also tried the path without /PEAR on
the end, and not inside the module, which failed).
If I type "which pear" in the shell, it lists the
server's pear folder.
My problem is, the go-pear web interface is saying I
need to channel-update pear.php.net, but this isn't
working, even if I call pear with the fully qualified
name in my local directory.
Retrieving channel.xml from remote server
could not create lock file
I've googled for hours to no avail; can someone please
help me? I'd like a permanent way of setting the
correct path so my local pear will always be used,
and/or would love the ability to use pear at all.
thanks,
-kim
____________________________________________________________________________________
Don't get soaked. Take a quick peak at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather