iversonm Posted January 27, 2010 Share Posted January 27, 2010 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 Quote Link to comment Share on other sites More sharing options...
RussellReal Posted January 27, 2010 Share Posted January 27, 2010 pecl install extension run that notw if you're on windows pecl doesn't work for us Quote Link to comment Share on other sites More sharing options...
iversonm Posted January 27, 2010 Author Share Posted January 27, 2010 nope not running windows and here is what i got no releases available for package "pecl.php.net/extension" installation failed Quote Link to comment Share on other sites More sharing options...
RussellReal Posted January 27, 2010 Share Posted January 27, 2010 pecl install memcache Quote Link to comment Share on other sites More sharing options...
iversonm Posted January 27, 2010 Author Share Posted January 27, 2010 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 Quote Link to comment Share on other sites More sharing options...
RussellReal Posted January 27, 2010 Share Posted January 27, 2010 well then, I really don't know Sorry.. bump the topic till an admin sees it, they're usually the brains of this operation Quote Link to comment Share on other sites More sharing options...
iversonm Posted January 27, 2010 Author Share Posted January 27, 2010 alright well thanks for the help, i appreciate it. anyone else have any ideas Quote Link to comment Share on other sites More sharing options...
oni-kun Posted January 28, 2010 Share Posted January 28, 2010 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. Quote Link to comment Share on other sites More sharing options...
RussellReal Posted January 28, 2010 Share Posted January 28, 2010 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.. Quote Link to comment Share on other sites More sharing options...
oni-kun Posted January 29, 2010 Share Posted January 29, 2010 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. Quote Link to comment Share on other sites More sharing options...
trq Posted January 29, 2010 Share Posted January 29, 2010 What distro are you using on this vps? Most distros should have a package for memcache so you shouldn't need to use pecl. Quote Link to comment Share on other sites More sharing options...
iversonm Posted January 29, 2010 Author Share Posted January 29, 2010 Linux X.netsolvps.com 2.6.9-023stab048.4-smp #1 SMP Fri Jul 11 18:00:55 MS D 2008 x86_64 x86_64 x86_64 GNU/Linux If thats not the right info then please let me know how to look up the right info Quote Link to comment Share on other sites More sharing options...
trq Posted January 29, 2010 Share Posted January 29, 2010 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. Quote Link to comment Share on other sites More sharing options...
iversonm Posted January 29, 2010 Author Share Posted January 29, 2010 honestly I dont know. I emailed Network Solutions asking but until they respond I cant answer your question Quote Link to comment Share on other sites More sharing options...
trq Posted January 29, 2010 Share Posted January 29, 2010 It should be somewhere on your plan or something. But yeah, there's no real reliable way of finding out. Quote Link to comment Share on other sites More sharing options...
oni-kun Posted January 29, 2010 Share Posted January 29, 2010 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. ?? Quote Link to comment Share on other sites More sharing options...
iversonm Posted January 29, 2010 Author Share Posted January 29, 2010 so without that info im stuck then? Quote Link to comment Share on other sites More sharing options...
iversonm Posted January 29, 2010 Author Share Posted January 29, 2010 in response to oni-kun the result was Fedora Core release 6 (Zod) Quote Link to comment Share on other sites More sharing options...
oni-kun Posted January 29, 2010 Share Posted January 29, 2010 in response to oni-kun the result was Fedora Core release 6 (Zod) bash$# yum install memcached Fedora Core 6 for x86_64 (fc6-x86_64) memcached-1.1.13-5.fc6.rf.x86_64.rpm Fedora Core 6 for i386 (fc6-i386) memcached-1.1.13-5.fc6.rf.i386.rpm EDIT: repositories are annoying for synch... Quote Link to comment Share on other sites More sharing options...
iversonm Posted January 29, 2010 Author Share Posted January 29, 2010 lol yum: command not found... im just missing everything. blah Quote Link to comment Share on other sites More sharing options...
oni-kun Posted January 29, 2010 Share Posted January 29, 2010 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 Quote Link to comment Share on other sites More sharing options...
iversonm Posted January 29, 2010 Author Share Posted January 29, 2010 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 Quote Link to comment Share on other sites More sharing options...
oni-kun Posted January 29, 2010 Share Posted January 29, 2010 Ironic anyone? You have to install the gettext package to run msgmerg to install yum to install memcached. Linux is annoying sometimes ftp://ftp.gnu.org/pub/gnu/gettext/gettext-0.12.1.tar.gz wget that and install it the same way.. then installing yum should work.. Quote Link to comment Share on other sites More sharing options...
iversonm Posted January 29, 2010 Author Share Posted January 29, 2010 blah it says download complete # tar -xfv gettext-0.12.1.tar.gz tar v: Cannot Open: No such file or directory tar: Error is non recoverable: exiting now Quote Link to comment Share on other sites More sharing options...
oni-kun Posted January 29, 2010 Share Posted January 29, 2010 blah it says download complete # tar -xfv gettext-0.12.1.tar.gz tar v: Cannot Open: No such file or directory tar: Error is non recoverable: exiting now Whoops, remove the dash from -xfv. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.