Jump to content

PECL


iversonm

Recommended Posts

so i am running a vps through network solutions. I had to manually install pear using ssh which worked fine and all is well. now i cant figure out how to get the pecl extension installed and running. any ideas or suggestions?

sidenote my main goal of all if this is i wanted to install memcache

thanks

Link to comment
Share on other sites

tried it got this error

fatal error:allowed memory size of 8388608 bytes exhausted(tried to allocate 92160 bytes) in /root/PEAR/PEAR/PackageFile/v2/Validator.php on line 912

 

Then go to php.ini and add (or edit the existing) line:

 

memory_limit = 12M

 

That should suffice. Any more needed can be added.

 

well then' date=' I really don't know :) Sorry.. bump the topic till an admin sees it, they're usually the brains of this operation :)[/quote']

 

This stuff is newbie crap, I don't think it needs an expert.

Link to comment
Share on other sites

tried it got this error

fatal error:allowed memory size of 8388608 bytes exhausted(tried to allocate 92160 bytes) in /root/PEAR/PEAR/PackageFile/v2/Validator.php on line 912

 

Then go to php.ini and add (or edit the existing) line:

 

memory_limit = 12M

 

That should suffice. Any more needed can be added.

 

well then' date=' I really don't know :) Sorry.. bump the topic till an admin sees it, they're usually the brains of this operation :)[/quote']

 

This stuff is newbie crap, I don't think it needs an expert.

 

I know that but pecl uses a socket not a file_get_contents therefore it should never reach that limit..

Link to comment
Share on other sites

I know that but pecl uses a socket not a file_get_contents therefore it should never reach that limit..

 

Also.. "allowed memory size of 8388608 bytes exhausted(tried to allocate 92160 bytes)"

 

How is 92KB larger than 8.3MB? I found that a bit funny.

Link to comment
Share on other sites

That's your kernel version which isn't of much use. There is no reliable way of determining your distro as all distro's are different. Having purchased the vps though, you should know what OS it using.

 

Ask your provider if your stuck.

Link to comment
Share on other sites

Run cat /etc/issue or within php echo `cat /etc/issue` .. That should return the distro you are using.Uname won't be of help, as the kernel is unusual to display anything about the distribution unless it is specific.

 

It should be somewhere on your plan or something. But yeah, there's no real reliable way of finding out.

??

Link to comment
Share on other sites

lol yum: command not found...

im just missing everything. blah

 

# wget http://linux.duke.edu/projects/yum/download/2.0/yum-2.0.7.tar.gz
# tar -xfv yum-2.0.7.tar.gz
# cd yum-2.0.7...
# ./configure
# make
# make install
# yum list updates
# yum install memcached

Link to comment
Share on other sites

during the make comment here is what was spitted out... should i just keep going and do mae install or did something go really wrong

# make
for subdir in bin etc dovs po ; do \
	make -C $subdir ;\
	done
make[1]: Enterying Directory `/root/ym-2.0.7/bin'
make[1]: Nothing to be done for `all'.
make[1]: leaving directory `/root/yum-2.0.7/bin'
make[1]: Enterying directory `/root/yum-2.0.7/etc'
make[1]: Nothing to be done for `all'.
.........................
so on and so forth
.....................
for cat in cs.po es.po ru.po uk.po' do \
	land=`basename $cat .po`; \
	if msgmerge -v $lang.po yum.pot > $lang.pot ; then \
		mv -f $lang.pot $lang.po ; \
		echo "mesmerge -v of $lang succeeded" ; \
	else \
		echo  "msgmerge -v of $lang failed" ; \
		rm -f $lang.pot ; \
	fi \
done
/bin/sh: lane 2: msgmerge: command not found
msgmerge -v of cs failed
/bin/sh: lane 2: msgmerge: command not found
msgmerge -v of es failed
/bin/sh: lane 2: msgmerge: command not found
msgmerge -v of ru failed
/bin/sh: lane 2: msgmerge: command not found
msgmerge -v of uk failed
msgfmt --statistics --verbose -o cs.mo cs.po
make[1]: msgfmt: Command not found
make[1]: *** [cs.mo] Error 127
make[1]: Leaving Directory `\root\yum-2.0.7\po'
make: *** [all] Error 2

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.