www.webdeveloper.com
Results 1 to 7 of 7

Thread: I'm going CRAZY trying to install Pear :-\

Hybrid View

  1. #1
    Join Date
    Nov 2008
    Posts
    92

    I'm going CRAZY trying to install Pear :-\

    I recently got a Linux Virtual Private Server from 1and1 and I'm having problems trying to install Pear. I followed the instructions on the official Pear website, but to be honest, I don't really know if I'm following them correctly as I'm new to Linux.

    Does anyone know of any good tutorials on how to install Pear with SSH access to the server? I've searched google, but none of them really help me, I just keep restoring my server and trying again. :-\

    I spent all Saturday trying to get it to work with no luck...

    Can someone please point me in the direction of a good tutorial for newbies or if possible tell me the basics of what I have to do to get it installed :-\

    Thanks for reading...

  2. #2
    Join Date
    Nov 2008
    Posts
    2,477
    Which linux distro is running on your server?

  3. #3
    Join Date
    Feb 2009
    Posts
    23
    Don't know if you ran across this during your Google search,
    it may or may not help, but its pretty straight forward

    http://www.jellyandcustard.com/2006/...stalling-pear/

  4. #4
    Join Date
    Nov 2008
    Posts
    92
    Hey thanks for the replies :-))

    I get this warning when I try to install Pear.

    PHP Warning: putenv(): Safe Mode warning: Cannot set environment variable 'TMPDIR' - it's not in the allowed list in /root/- on line 1264
    It's on Centos. I turned Safe mode off in Plesk, I rebooted my server and I still get the same error. I asked a few people in IRC today and they don't know either, so I emailed 1and1 support.

    If they can't solve it, I'll try the tutorial you gave ambytiousone!

    Peace & love :-))

  5. #5
    Join Date
    Feb 2009
    Posts
    23

    Wink

    Yep, Try the tutorial... I'm not too savvy with Pear nor Centros but I did
    find another resource which may help you.

    Sorry I can't give you the direct root of the problem but check out this
    link. It should have the linux command description.

    http://www.scribd.com/doc/7381712/Li...mand-Reference

  6. #6
    Join Date
    Nov 2008
    Posts
    2,477
    Quote Originally Posted by Topkat View Post
    It's on Centos
    I don't have a CentOS/RH box anymore to test, but I'd imagine

    Code:
    yum install php-pear
    from a root shell would do it (assuming you have yum installed of course )

  7. #7
    Join Date
    Nov 2008
    Posts
    92
    Thanks for the link ambytiousone!

    Mindzai, I've tried yum, I've tried "lynx -source http://pear.php.net/go-pear | php", I've tried to install it through a script which tells me I don't have access to the folders to install them, I chmod them to give all rights, still nothing, tech support @ 1and1 didn't understand it either. I thought it was because I was a noob, but it's probably just 1and1's server settings :-\

    I haven't tried ambytiousone way yet, but I'm sure I'll run into open_basedir problems when I do because of Plesk. I'm going to take a break from it all before I go Insane :-))

    1and1 got back to me with this...

    I have just looked over this case and it seems that the problem is a scripting error. Unfortunately we do not support scripting as this is out of our realm of technical support.
    Scripting error? The error comes when I try to install it with yum. :-\

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles