General :: What Exactly Happens When "sudo Apt-get Install Php-pear"

Jan 18, 2011

I'm a little confused about the reasoning behind installing PEAR through CLI like this://shellsudo apt-get install php-pearAFAIK Pear is just PHP library - so - that's just bunch of PHP classes. So - if I need one - I just go to their website, download one, plug it into my php code - and that's it. - right? or so I think.so - my questions are:1) Why would I install PEAR through command line? What are the benefits over just downloading and ungzipping a package?2) If installed through CLI - Where those packages are being installed? what dir?

View 1 Replies


ADVERTISEMENT

Fedora Installation :: Yum Install Php-pear - No Package Php-pear Available?

Nov 30, 2009

I am trying to setup APC on my Fedora 7 server but cant install php-pear. There are loads of sites explaining how to do this but they all use "yum install php-pear" which yum cant seem to find??

root@fedora7 [/etc/apt]# yum install php-pear
Loading "fastestmirror" plugin
Repository base is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* base: p3mirror01.prod.phx3.secureserver.net
code....

View 3 Replies View Related

General :: PHP Fatal Error - Call To Undefined Method PEAR - RaiseErro() In /usr/share/php/PEAR/REST.php On Line 165

Apr 30, 2011

When running

Pear upgrade

The following error is raised:

View 1 Replies View Related

Ubuntu :: Php Pear Seems Broken / Fatal Error: Call To Undefined Method Pear?

May 2, 2011

I'm trying to install a package (validate) from pear.

but the command sudo pear install validate fails with error:

PHP Fatal error:Call to undefined method PEAR::raiseErro() in /usr/share/php/PEAR/REST.php on line 165

Looking around on the internet I found a bug report on debian:url

The fix is to update php5.

So now the question:

How do I update php5 or apply the patch mentioned in this bug report?

View 4 Replies View Related

Fedora Servers :: Pear Installation/configuration / Setting Displayed There For Pear?

Sep 29, 2009

I have pear installed, but I'n not sure I have it configured properly.

When I do a phpinfo(), no where are the settings for pear (meaning where it's located). If I recalled there is supposed to be a setting displayed there for PEAR.

View 4 Replies View Related

General :: Error Pear Install Packages On RHEL4

May 17, 2010

I am facing issue when trying to install php-pear packages on RHEL 4,

Troubleshoot error.

My php and pear version as below.

View 4 Replies View Related

CentOS 5 :: How To Install Pear

Jan 30, 2011

I need to install pear. my php version is 5.2. i read the pear manual and it says that the pear installation should have been there unless it has been compile with ./configure without pear. i went to phpinfo and realise that i have '--without-pear' in Configure Command.

View 2 Replies View Related

Ubuntu Servers :: Installing The SSH2 Into PHP - Need Php-pear Which Wants To Install Php-cli

Mar 23, 2010

I want to install[URL] extension into PHP, but it seems like it's only installed by pear, and for pear I need php-pear which wants to install php-cli. I already have php-cgi with fcgi and Apache2 worker MPM.

View 2 Replies View Related

OpenSUSE Network :: Install And Configure Pear - Send Emails Using Php Scripts

Jun 3, 2010

Install and configure Pear so that I can send emails using php scripts on a Suse 11.2 LAMP server?

View 4 Replies View Related

General :: Sudo Cd /root Gives Sudo - Cd - Command Not Found

Jan 6, 2011

Kernel 2.6.21.5, Slackware 12.0

Code:

Code:

On the other hand

Code:

So, I do not understand why the notification "sudo: cd: command not found", considering cd is a bash built-in command.

View 3 Replies View Related

General :: Sudo And Solaris Install And Configure

Dec 14, 2010

I am new to sudo and want to install sudo and configure it. I have downloaded TCMsudo-1.7.4p4-i386.pkg.gz package but the installation steps are as below.

bash> ./configure
bash> make
bash> make install

But all i see the .PKG file and no configure and install files. Are there a new steps that i need to use with .PKG files ? Also once installed how do i configure it.

View 4 Replies View Related

General :: What's The Difference Between Sudo Su - And Sudo -i

Jun 19, 2011

It is my understanding that they do the same: they ask for my password (if I am allowed in /etc/sudoers), and give me a login shell as root.

Is there any difference between them?

sudo su -
sudo -i

Also, what's the difference between

sudo su
sudo -s

I think that they both ask for my password, and give me a shell with my old environment variables.

View 1 Replies View Related

Fedora :: Where To Get Php-pear-Structures_DataGrid_Renderer_HTMLTable Package

Oct 5, 2010

where to get php-pear-Structures_DataGrid_Renderer_HTMLTable package for Fedora?

View 3 Replies View Related

Ubuntu / Apple :: Use Pear PC To Emulate Mac?

Oct 21, 2010

I know you can use PearPC on Linux to emulate Mac, but I have no clue how to do this and I need a step-by-step walk-through or guide on how to.

View 1 Replies View Related

Fedora :: SELINUX And Sending Email Using PEAR

Dec 17, 2010

I've been trying to get PHP to send an email using PEAR's mime mail and have been unable to get it working.

View 3 Replies View Related

Ubuntu Servers :: Send Email From PHP Using Pear

Jun 16, 2010

I host a webpage from my PC, and I was having all kinds of issues trying to get it to send emails. These steps send and receive the email through a gmail account. This page saved me.

Here are the simple steps
0. get a gmail account
1. install pear
Code:
sudo apt-get install php-pear

2. Install pear packages:
(I'm not really sure what this does, but I did it, and everything is working)
Code:
sudo pear install -o Mail
sudo pear install -o Net_SMTP

3. run php script to send email.
Code:
<?php
// Include the Mail package
require "Mail.php";
// Identify the sender, recipient, mail subject, and body .....

View 4 Replies View Related

Server :: PEAR Class Not Found In Roundcube

Jun 25, 2011

I downloaded roundcube webmail and when I tried to run it, it said:

Code:
Fatal error: Class 'PEAR' not found in /srv/roundcubemail-0.5.3/program/include/iniset.php on line 132

What's the problem?

View 1 Replies View Related

Software :: Use PEAR From Its Shared Directory In Apache2?

Mar 8, 2011

I'm running the turnkey linux version of joomla and I need to use PHP's mail functionality to send a notification email from a page (separate from joomla content) . PHP's native stuff is rather plain and I find myself needing the functionality of PEAR. So I've installed PEAR via aptitude, but it has installed to /usr/share/php.

how do I include these files from php scripts? Firstly, the files are owned by root, the www-data user doesn't have access. It also appears that the permissions on the files may need to be modified. Some php files don't have the execute flag (shouldn't they)? I recognize the point of having a centralized location for updates and sharing, so I don't want to just copy the files to my web directory (/var/www).

View 2 Replies View Related

General :: Typed The Command As Sudo Apt-get Install Dosbox The Error Occured As E:couldnt Find The Package Dosbox?

Feb 6, 2010

when i was about to install turbo c using dosbox in ubuntu on the console i typed the commandas sudo apt-get install dosbox the error occured as E:couldnt find the package dosbox

View 5 Replies View Related

Ubuntu :: Install A Dictionary With The Command Sudo Apt-get Install Dict-xdict

Mar 28, 2010

I am a rookie. Yesterday, I intended to install a dictionary with the command sudo apt-get install dict-xdict, but it turned out to fail with the error. Then, I quited with Ctrl+ c, and I did not care much till today because when I want install something else today, the error keeps coming out. Therefore, I think I would better remove dict-xdict first, so I use sudo apt-get remove dict-xdict, but the error still appears:

[Code]...

I have already tries sudo apt-get -f install dict-xdict and it doesn't work out. I am hoping to install some other applications now, but I have not idea what I could do to fix this problem or just circumvent it

View 7 Replies View Related

Ubuntu :: Get Pear Pc To Work - No Icons At Installation From Synaptic

Oct 24, 2010

i am having some problems with pear pc I installed from synaptic and then there was no icon so ran "pear pc" in the terminal but nothing happend how do i get pear pc to work

View 3 Replies View Related

Fedora Servers :: SSH Server Has Gone All Pear-shaped (connection Refused)?

Feb 18, 2011

I am experiencing a bit of a problem with openssh-server. I installed the server like I normally do. It wouldn't work, so I tried using this. It still didn't work. Later, I have realised that when using service sshd start SSH says it started, but when you check if it's running with service sshd status it says it doesn'triend advised me to use /etc/init.d/sshd and I managed to get it started. However, that doesn't return anything, and when I try to connect it says connection refused even when I try to connect from localhost to localhost

View 13 Replies View Related

CentOS 5 :: Unable To Find Php-pear-Date-Holidays For Horde Web

Nov 18, 2009

I was following these instructions[url] and it asks to have this installed yet I am unable to find the file/package.

yum install -y php-pear-Date-Holidays <-- (for now, this package is available in the EPEL repo)

I have followed the instructions on this link [url]

To install ELRepo for RHEL5, CentOS-5 or SL5:

And

How to get the package iinstall and/or recommended steps for horde

View 1 Replies View Related

Ubuntu :: Sudo Apt-get Install Gives Errors After Trying To Install Bacula

Oct 2, 2010

I tried installing bacula and i really had no idea what i was doing and i believe it failed. I ran sudo apt-get install bacula. Anyway, I tried removing it using sudo apt-get remove bacula but now whenever i run sudo apt-get install for anything, the app will install but then show all these errors from bacula. how do i get rid of it?

View 4 Replies View Related

Ubuntu :: Sudo Ifconfig Eth0 Down Vs Sudo /etc/init.d/networking Stop

Jun 10, 2010

explain the difference between these two commands. I'm currently reading about changing your mac address and both of these commands show up a lot. They sound like the same thing to me. Is one better than the other, or do you need to use both to change your mac address?

Code:
sudo ifconfig eth0 down
sudo /etc/init.d/networking stop

View 3 Replies View Related

Software :: Pam_start Error 26 \ Use Sudo Su And Add An Account To A Group What's Allowed To Use Sudo?

Jan 2, 2011

I have a problem when I want to use su I get this error:Code:su: pam_start: error 26I have googled it so I found this topic (http://www.linuxquestions.org/questi...r-26-a-615024/) but it didn't really help me. There was a reply on that topic and his question was what the output of this was:

Code:
ldd /usr/bin/passwd
and

[code]....

View 4 Replies View Related

Ubuntu Servers :: 'aborted Connection' After Installing PEAR On Remote Server

Jun 30, 2010

I was trying to install PEAR on a remote Ubuntu server using putty. I ran an apt-get install php-pear command and everything went smoothly, but now i cannot access the website as it says 'can't establish a connection to the server' and in firebug, it shows the status 'aborted'. I even tried adding the pear path in php.ini file and restarting the apache server but no luck.

View 1 Replies View Related

Programming :: Php Pear Installation / Failed To Open Stream: No Such File Or Directory?

Jan 15, 2010

I was attempting the pear installation as per the instructions given here:url

I think i got the installation correct.

Then i tried this program

<?php
require_once 'System/Folders.php';
$sf = new System_Folders();
$home = $sf->getHome();
echo "$home
";
?>

and compiled it as follows:-

php spear.php

to get the results as

Warning: require_once(System/Folders.php): failed to open stream: No such file or directory in /var/www/spear.php on line 3
Fatal error: require_once(): Failed opening required 'System/Folders.php' (include_path='.:/opt/ZendFramework/current/library:/usr/share/php5:/usr/share/pear') in /var/www/spear.php on line 3

how should i correctly set the path in /etc/php5/apache2/php.ini

or how correct is my path statement

include_path = ".:/opt/ZendFramework/current/library:/usr/share/php5:/usr/share/pear"

in /etc/php5/apache2/php.ini

View 1 Replies View Related

Fedora Security :: Cannot Open /var/db/sudo After Sudo Package Upgrade?

Sep 16, 2010

A day ago I finally got around to upgrading the PackageKit installation that had been sitting for a week and a half, so I found a new upgrade for sudo available - the one that gives the sudoreplay command, I forget which version number it is exactly. When I try to use the sudo command I get this notice in my terminal:Code:Can't open /var/db/sudo/me/1: Permission deniedI didn't get it before. What do I have to do to make it open? I'm using SELinux in enforcing mode if that helps.

View 1 Replies View Related

Debian :: Installation Pear - Files Not Found / Unable To Fetch Some Archives, Run Apt-get Update?

Mar 3, 2011

I have brought a virtuell server to get Magento ready. My server is debian with PHP Version 5.2.6-1+lenny3

For that i need Pear. I want to install it global so i tried this command "apt-get install php-pear". Following i get after this:

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
php5-cl
Suggested packages:
code....
1+lenny3_all.deb  404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

This is my sources.list:
deb url
deb url
deb url

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved