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...
Which linux distro is running on your server?
Don't know if you ran across this during your Google search,
it may or may not help, but its pretty straight forward
Hey thanks for the replies :-))
I get this warning when I try to install Pear.
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.
PHP Warning: putenv(): Safe Mode warning: Cannot set environment variable 'TMPDIR' - it's not in the allowed list in /root/- on line 1264
If they can't solve it, I'll try the tutorial you gave ambytiousone!
Peace & love :-))
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.
I don't have a CentOS/RH box anymore to test, but I'd imagine
Originally Posted by Topkat
from a root shell would do it (assuming you have yum installed of course )
yum install php-pear
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...
Scripting error? The error comes when I try to install it with yum. :-\
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.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)