Install PEAR
Apr 25, 2009how to install pear onto my unmanaged vps....i activated paypal gateway on cubecart but i get error msg [url]
View 2 Replieshow to install pear onto my unmanaged vps....i activated paypal gateway on cubecart but i get error msg [url]
View 2 Replieshow to install the PEAR libraries in windows...
If PEAR is not installed then when the library files are included whether it would run smooth or not?
how uncommon it is for a hosting company to install PEAR extensions for their clients. Why I ask is because I am not sure how to install them myself. I currently use WAMP, which installed PHP, APACHE, and MySQL for me. So I am looking for a way to use PEAR extensions. If not on my personal machine, a server would be fine.
I guess I am looking for some suggestions. Pershaps something like WAMP which makes it very simple, or a hosting company you know that will install extensions for someone on a shared account.
Trying to install Cerberus Help Desk and it gives this message during requirement check:
The following problems prevent you from running Cerberus Helpdesk 4.0:
upload_tmp_dir is empty in your php.ini file. Please set it.
The 'MailParse' PHP extension is required. Please enable it.
The 'Mail' PEAR package is required. Please install it.
The 'Mail_Mime' PEAR package is required. Please install it.
The 'Mail_mimeDecode' PEAR package is required. Please install it.
The 'Mail_RFC822' PEAR package is required. Please install it.
The 'Text_Password' PEAR package is required. Please install it.
how to apply this (on a vps) safely? Using Centos 4.5. I'm using Interworx control panel.
I am trying to install the Mail_Mime Package from PEAR with the command "pear upgrade Mail_Mime".
All I get is this Error Message:
Code:
pear/Mail_Mime requires PEAR Installer (version >= 1.6.0), installed version is 1.5.0
pear/Mail_mimeDecode requires PEAR Installer (version >= 1.6.0), installed version is 1.5.0
pear/Mail_mimeDecode requires package "pear/Mail_Mime" (version >= 1.4.0, excluded versions: 1.4.0)
No valid packages found
upgrade failed
The funny thing is, I've already upgraded the PEAR package to the latest (1.6.1) with the command "pear upgrade PEAR", successfully.
Update: I could fix the problem, see here for details: [url]
Does anybody know a WAMP server where pear is actually working so also CLI.. as i tried so many but they all seem to work like crap
*edit
Wrong forum can anybody move it
*edit #2
Umm actually i mean a WAMP Development server like XAMPP can anybody put it in PHP forums
I have installed PEAR on my
localhost/apache server and
have no problem running pear
scripts such as HTLM Quickform
and validator. (php Anthology
Vol 1 & 2 by Harry Fuecks)
)
But I am having problems
getting Pear to install on
my Linux shared server.
GoDaddy say that Pear is loaded by
default with php4 and are not prepared
to assist in any further installations.
I know that a copy of the pear installation
can be uploaded to the folder where I host
my site. I ran the following script
and this shows that PEAR is enabled
<?php
include("PEAR.php");
$p = new PEAR();
print_r($p);
?>
:OutPut in browser:
PEAR Object
(
[_debug] =>
[_default_error_mode] =>
[_default_error_options] =>
[_default_error_handler] =>
[_error_class] => PEAR_Error
[_expected_errors] => Array
(
)
)
I have searched the forum but I am still
none the wiser. If there is anyone on the
forum who had been through the setup
procedure before I would welcome your help.
paradox1
I'm following the guides in programming OOP+PEAR from these 2 books:
[url]
So far things seems to work on my own Desktop LAMP. But the question is will my hours of PHP 5 coding work on my current webhost One.com?
I'm a newbie so I haven't fully understood how to utilize PEAR yet but when chatting with One.com's Live support and emailing them. They tell me this.
- That they support both PHP 4 and PHP 5.
- That they support PEAR for PHP 4 but not PHP 5.
- That they don't know when they will install PEAR support for PHP 5.
How should I interpret this information? Do I just keep working on the PHP 5 codes like the book instructs and wait until they install PEAR for PHP 5. Or should I switch webhost as soon as possible?
2 calls, 2 tickets, still problem not solved.
I thought this is simple question, but guess i m wrong.
<?php
require_once 'DB.php';
require_once "Auth.php";
echo "seems like pear cannot be found , oops,, help me out...";
?>
this is acutal link:
[url]
it only has 3 lines. I m getting error message,cuz file is not found. I called them twice and file 1 ticket and 1 reply. the last call they said tech still try to figure out what happens, maybe something wrong with my code.
Is it possible to install Plesk 12 to Debian Jessie with the autoinstall script?
View 7 Replies View Relatedproblem with install suhosin and ...
how i can install Mod_security
What difference between yum install php or manually install php from scrach (build, make and install)?
I know manually install could configure lots of parameters and paths, like --iconv, --mbsting, etc. I don't know anything behind yum install php. If I want to install php everything in the following:
./configure --prefix=/usr/local/webserver/php --with-config-file-path=/usr/local/webserver/php/etc --with-mysql=/usr/local/webserver/mysql --with-mysqli=/usr/local/webserver/mysql/bin/mysql_config --with-iconv-dir=/usr/local --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-debug --disable-rpath --enable-discard-path --enable-safe-mode --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --with-curlwrappers --enable-mbregex --enable-fastcgi --enable-fpm --enable-force-cgi-redirect --enable-mbstring --with-mcrypt --with-gd --enable-gd-native-ttf --with-openssl --with-sendmail=/usr/sbin/sendmail
to installing linux software and have been beating my head for a couple of days. I just learned that I can use something on my CENTOS 5 - which is the same as RHEL 5 - to install the rpm and all dependencies.
Numeric-24.2-1.i586.rpm is the rpm I want to install, if that matters.
How can I do install it AND any dependencies?
I am trying to install the kernel source.
I have downloaded kernel-2.6.20-1.2948.fc6.src.rpm
I am using fedora 6 64bit.
here are my current kernels:
kernel-headers-2.6.20-1.2948.fc6
kernel-devel-2.6.20-1.2944.fc6
yum-kernel-module-1.0.3-1.fc6
kernel-2.6.20-1.2944.fc6
kernel-devel-2.6.20-1.2948.fc6
kernel-2.6.20-1.2948.fc6
here is what I seen when I installed kernel-2.6.20-1.2948.fc6.src.rpm
rpm -ivh kernel-2.6.20-1.2948.fc6.src.rpm
1:kernel warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
########################################### [100%]
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
then when I ran:
rpmbuild -bp --target=$(uname -m) /usr/src/redhat/SPECS/kernel-2.6.spec
I seen this error:
+ Arch=x86_64
+ make ARCH=x86_64 nonint_oldconfig
In file included from /usr/include/sys/socket.h:35,
from /usr/include/netinet/in.h:24,
from /usr/include/arpa/inet.h:23,
from scripts/basic/fixdep.c:117:
/usr/include/bits/socket.h:310:24: error: asm/socket.h: No such file or directory
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.93770 (%prep)
I need to have this installed to get a app installed etc...
suggestions or ideas?
thanks
So i have a dedicated server and here are the specs:
AMD64 X2 7750+
8192 MB DDR2 RAM
500 GB 7.200 RPM
2000 GB Traffic p/m
CentOS 5.3
I want to install several VPS's on this server so i have one for shared users, one for reseller users and then the rest can be purchased. Unfortunately i have no idea how to install VPS's. Which is the best visualization software for VPS's? And how do i install and how to get whmcs to create them. Or are they already created?
I am also wondering about control panels and do vps's have to have their own separate control panel or do they all run of the main control panel.
Also what is the rule of thumb on how many vps's per server.
I'm willing to setup a new dedicated server that hosts only one website. before I just used Centos, it was free and worked perfect.
I dont want to spend any money for OS.
Which OS do you use?
Well I ordered a virtuzzo server and I am wondering on how do you install yum. Its a centos
View 7 Replies View RelatedI tried to : yum install gcc
Quote:
root@name [~]# yum install gcc
Traceback (most recent call last):
File "/usr/bin/yum", line 28, in ?
import yummain
File "/usr/share/yum-cli/yummain.py", line 30, in ?
from yum import _
ImportError: cannot import name _
command : rpm -q yum
Quote:
root@name [~]# rpm -q yum
yum-3.2.8-9.el5.centos.2.1
command : rpm -ap | grep yum
Quote:
root@name [~]# rpm -aq | grep yum
yum-3.2.8-9.el5.centos.2.1
yum-fastestmirror-1.1.10-9.el5.centos
yum-metadata-parser-1.1.2-2.el5
command : rpm -e yum-metadata-parser-1.0-8.fc6
Quote:
root@name [~]# rpm -e yum-metadata-parser-1.0-8.fc6
error: package yum-metadata-parser-1.0-8.fc6 is not installed
I've tried to work with yum. but if I "yum install .." enter, then i get this error :
PHP Code:
error: no dbpath has been set
error: cannot open Packages database in /%{_dbpath}
Traceback (most recent call last):
File "/usr/bin/yum", line 30, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum/yummain.py", line 163, in main
(log, errorlog, filelog, conf, cmds) = parseCmdArgs(args)
File "/usr/share/yum/yummain.py", line 75, in parseCmdArgs
conf=yumconf(configfile=yumconffile)
File "/usr/share/yum/config.py", line 155, in __init__
self.yumvar['releasever'] = self._getsysver()
File "/usr/share/yum/config.py", line 285, in _getsysver
idx = ts.dbMatch('provides', self.distroverpkg)
TypeError: rpmdb open failed
I'm playing around with a test server, install Xen on a Centos 5 box.
[url]
I've tried two methods to create a vm.
virt-install
and
virt-install -x "ip=xxx.xxx.70.212 gateway=xxx.xxx.70.211 subnet=255.255.255.248"
If I do virt-install, it asks me this:
(first screenshot).
I have no idea what to put it. I did try this:
Quote:
IPv4 address: xxx.xxx.70.212__ / 255.255.255.248_
Gateway: xxx.xxx.70.211___________________________
Name Server: _________________________________________
note: only here in my post am I actually putting "xxx" in the IP for privacy reasons only. The 70.212 is the main server IP that I ssh into.
See 2nd screenshot for error. Same thing with various *valid* mirrors I tried.
This is my ifcfg-eth0 info:
DEVICE=eth0
BOOTPROTO=static
IPADDR=xxx.xxx.70.212
NETMASK=255.255.255.248
ONBOOT=yes TYPE=Ethernet
I have bought Dell Optiplex 760 and i would like to in stall Virtual Private Server (VPS) on it.. can anybody please tell me step by step tutorial to install VPS in my computer and have my own webserver?
View 14 Replies View Relatedi want to install custom os in Xen.
what do i do?
i want install Mikrotik , Cenos and ... in it.
also how can i create image from it to use it again?
can i use this image for hypervm?
i intsalled clipshare script, and this is the server requirments:
# Mplayer + Mencoder
# Flv2tool
# Libogg + Libvorbis
# LAME MP3
how yo install it?
i have a domain from namecheap and a virtual private server.
I want to have ns1.domain.com and ns2.domain.com and domain.com for my homepage.
I use lxadmin.How can i do this?
How to install DOM XML on php 5.1.6?
View 5 Replies View Relatedone of my server forgot to install yum, as a result, i am unable to use yum to install packages. The os is centos 5,
View 11 Replies View RelatedI was trying to install CSF/LFD on to my VPS but I'm having problems. Its coming out with the error:
iptables v1.3.5: Unknown arg `-j'
Try `iptables -h' or 'iptables --help' for more information.
Error: iptables command [/sbin/iptables -A LOGDROPIN -j ] failed, at line 213
Rus over at CheapVPS assures me his servers support CFD/APF fully so its not something on his end and I've thought of everything on my end. Has anyone come across this problem before?
What should a person install on a Linux based server to run a VPN.
In other words I want to connect my home computer to a VPN located elsewhere. I know how to connect to a VPN, just not how to get the remote computer to act as a server and accept VPN connections.
I need to install site studio
[url]
It says to install java / jdk
I'm not 100% sure if I have that, but I have cpanel installed (not tomcat, disabled), centos 4.6
I see this:
Code:
root@server [/usr/java]# ls -lh
total 18M
drwxr-xr-x 9 root root 4.0K Dec 21 18:41 ./
drwxr-xr-x 43 root root 4.0K Dec 21 17:29 ../
drwxr-xr-x 2 root root 4.0K Dec 21 17:28 bin/
drwxr-xr-x 10 root root 4.0K Dec 21 17:29 demo/
drwxr-xr-x 3 root root 4.0K Dec 21 17:29 include/
drwxr-xr-x 7 root root 4.0K Dec 21 17:28 jre/
drwxr-xr-x 2 root root 4.0K Dec 21 17:29 lib/
-r--r--r-- 1 root root 13K Jun 14 2007 LICENSE
drwxr-xr-x 4 root root 4.0K Dec 21 17:29 man/
drwxr-xr-x 9 root root 4.0K Jun 14 2007 sample/
-rw-r--r-- 1 root root 18M Jun 14 2007 src.zip
root@server [/usr/java]# which java
/usr/local/jdk/bin/java
can java (or jdk) be installed via whm > apache compile?
I see this under /usr/local
Code:
lrwxrwxrwx 1 root root 22 Dec 21 17:29 jdk -> /usr/local/jdk1.6.0_02/
drwxr-xr-x 9 root root 4.0K Aug 26 2005 jdk1.5.0_05/
drwxr-xr-x 9 root root 4.0K Dec 21 18:41 jdk1.6.0_02/
-rwx------ 1 root root 56M Dec 21 17:28 jdk-6u2-linux-i586.bin*
lrwxrwxrwx 1 root root 18 Aug 14 2006 jre -> /usr/local/jdk/jre/
i want to install gd library on m linux server.. basically i wanted to use it with ffmpeg to create thumbnails of videos.. i have installed ffmpeg but not able to install gd..
i tried yum install php-gd but its not working
i tried /scripts/easyapache but it asks for something in the mid way so not getting through it.. my cpanel is not working
I have had to install one thing after another to get one thing running... I have to install...
Zend Optimizer 3.3.0 beta
and
Zend Guard after that...
Can anyone help me install this? I did read over the readme it doesnt help at all like all other readme's...
I did contact the support and they just copied and paste the read me...