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 :-\
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!
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. :-\
Bookmarks