MyBB Community Forums

Full Version: Can anyone, please, answer a basic question about compiling PHP?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
Error (warning) message (!not coming from MyBB) =
  • Copy permissions function not available , please compile PHP with BcMath lib to utilize this feature....

What you (might) need to know:
Cent OS
PHP Version 5.2.6
"My first VPS..."

What I need to know:
please compile PHP...
Instead of "compile PHP" (or re-compile), can I simply use my shell access to add BcMath lib to the existing PHP?
((I would assume, "Yes"...))

Also going to check Google for info, if anyone has good advice (on the exact steps), please let me know.
Thank you.


###
EDIT:
This thread is already #23 in Google for "BcMath lib" My
You should update you PHP version really, what control panel are you using?
Kloxo/LXAdmin...
// not sure if it's totally secure, but most of the LXAdmin problems were related to using it for shared hosting.

##
I'll look for a tutorial about upgrading PHP; can't afford to waste time if I mess up.


````````````

EDIT:
http://www.cyberciti.biz/faq/php-linux-i...ade-howto/

// If you would like to upgrade PHP use yum command
# yum update php

I wonder if Kloxo/LXAdmin will "play nice" after I do this.... Angel
Whatever Cents update is for command line. Like for ubuntu you have to do this
Su (Root power)
apt-get update

(tada but i have no idea if that does php updates aswell, i think it does. if not just Wget and make/install it)
(2009-11-02, 04:38 AM)T0m Wrote: [ -> ]Whatever Cents update is for command line. Like for ubuntu you have to do this
Su (Root power)
apt-get update

(tada but i have no idea if that does php updates aswell, i think it does. if not just Wget and make/install it)

I just edited my earlier post before seeing yours.
Thanks
aha. Sorry then :p Well if you reboot, it shouldn't mind.
First try:

# yum update php
Loaded plugins: fastestmirror
Determining fastest mirrors
* base: ftp.osuosl.org
* updates: ftp.osuosl.org
* addons: ftp.osuosl.org
* extras: ftp.osuosl.org
lxlabsupdate 100% |=========================| 951 B 00:00
lxlabslxupdate 100% |=========================| 951 B 00:00
base 100% |=========================| 2.1 kB 00:00
primary.sqlite.bz2 100% |=========================| 1.6 MB 00:00
updates 100% |=========================| 1.9 kB 00:00
primary.sqlite.bz2 100% |=========================| 194 kB 00:00
addons 100% |=========================| 951 B 00:00
primary.xml.gz 100% |=========================| 201 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Setting up Update Process
No Packages marked for Update


Second try:

# yum update php
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.osuosl.org
* updates: ftp.osuosl.org
* addons: ftp.osuosl.org
* extras: ftp.osuosl.org
Setting up Update Process
No Packages marked for Update

So..
How do I "mark the package" for update?
Just Wget, and manually install.
I backed up the entire VPS, but didn't grab a quick copy of the php config files, so maybe I'm lucky the update didn't overwrite anything yet. Smile

(2009-11-02, 05:10 AM)T0m Wrote: [ -> ]Just Wget, and manually install.

I don't know, { # yum update php }, sounds much easier. Toungue
lol. Well if you do, i can find you a tut.
Pages: 1 2 3 4