NO JOY Upgrade hung and PHP did not update

akriss

New Member
Joined
Sep 15, 2010
Messages
5
Reaction score
0
While upgrading to version 2.10 from 2.9 (I actually started at 2.8) using the web GUI in FreePBX, the process got stuck, as did my browser. I reconnected the browser and continued upgrading modules until they were all done. The DAHDi module could not be upgraded as now it appears that PHP remained at 5.1.6 rather than upgrading to 5.3 which DADHi.conf requires in order to also upgrade beyond 2.9.0.1.
Is there a way to upgrade to the correct version of PHP (5.3) now that the rest of the upgrade has been completed, all the way to version 2.11?
Thank you...
 
I'm sorry but could you be more specific about what I should provide?
 
"status" is the screen that pops up each time you SSH into your box. Generally a blue screen with lots of things like "Internet," "Asterisk" and looks something like this:
Code:
 PBX in a Flash PURPLE Status Program
 ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
 
 
                                     ┌───────────────────SYSTEM INFORMATION *VERIFIED*─────────────────────┐
                                     │  Asterisk   = ONLINE  | Dahdi     = ONLINE  | MySQL     = ONLINE    │  
                                     │  SSH        = ONLINE  | Apache    = ONLINE  | Iptables  = ONLINE    │  
                                     │  Fail2ban   = ONLINE  | Internet  = ONLINE  | Ip6Tables = ONLINE    │  
                                     │  Disk Free  = ADEQUATE| Mem Free  = ADEQUATE| NTPD      = ONLINE    │  
                                     │  SendMail   = ONLINE  | Samba     = OFFLINE | Webmin    = ONLINE    │  
                                     │  Ethernet0  = ONLINE  | Ethernet1 = N/A     | Wlan0     = N/A       │  
                                     │                                                                     │  
                                     │  PIAF Installed Version   = 2.0.6.2 under *KVM*                     │  
                                     │  FreePBX Version          = 2.10.1.1                                │  
                                     │  Running Asterisk Version = 1.8.13.0                                │  
                                     │  Asterisk Source Version  = 1.8.13.0 *MODIFIED*                     │  
                                     │  Dahdi Source Version     = 2.6.1+2.6.1                             │  
                                     │  Libpri Source Version    = 1.4.12                                  │  
                                     │  IP Address               = xx.xx.xx.xx on eth0                    │  
                                     │  Operating System         = CentOS release 6.2 (Final)              │  
                                     │  Kernel Version           = 2.6.32-220.17.1.el6.i686 - 32 Bit       │  
                                     │  Incredible Version       = 400                                     │  
                                     └─────────────────────────────────────────────────────────────────────┘  
                                                                                                              
 
 
 
 
root@purple:~ $
 
My guess is you are using an older version of Centos that does not come with the correct version of PHP. I would wager you are using the 1.7.5.X version. There was a program contained in this version that would upgrade your php to a new version. That being said that version of PIAF has been deprecated and is no longer supported. Will it work? I have no idea if it will. There are endless guides on the internet about updating PHP on centos however each have their pluses and minuses. Really the *best* way of doing this is to simply install the current version of PIAF and you won't have to fiddle with things. However to paraphrase my favourite author "Software upgrades are like dandruff most people have had it at one time and some derive considerable pleasure from fiddling with it". Once the new version is installed bring up the old and the new in browser windows and cut and paste.


Tom
 
Interesting...

Here is the result.

PHP 5.3.3 (cli) (built: Jul 12 2013 20:21:47)
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with Guard Loader v3.3, Copytight (c) 1998-2010 Zend Technologies
 
Ok, so now don't wait for us to comment more. We can't follow you and you don't make sense.
2.8 2.9 2.10 2.11 dahdi php upgrade, all on 2.0.6.4
no screenshot, no error messages, no understandable description of what you did, why, how, what you started with, etc.

Based on your question here is what we can do:
"Is there a way to upgrade to the correct version of PHP (5.3)"
You already run php 5.3.3.
 
Please excuse me, I am trying to provide the appropriate information. Clearly I have not achieved this objective. This is my first time posting to this forum so there may be a bit of a learning curve for me.

I originally installed the system with the PBX in a Flash distribution in January 2012. All was totally stable through the ensuing period until a few days ago when one of our trunks inexplicably failed to register. (I was able finally to resolve that issue). While trying to solve that problem I decided to upgrade the system as described above. During the upgrade from 2.9 to 2.10 the GUI froze for an extended period. After waiting for over an hour I decided to log back into the web interface and continue and complete the upgrade process. I then decided to upgrade to 2.11 in the hope that any outstanding errors (there were a few) would be resolved. And that is what happened. All components upgraded to the current state except for DAHDi Config, which will not upgrade in the web interface.

Here is the error:
Errors with selection:

  • DAHDi Config cannot be upgraded:
    • PHP version 5.3.0 or higher is required, you have 5.1.6
    Please try again after the dependencies have been installed.
This is why I stated that I have PHP 5.1.6, and also why I asked about somehow upgrading, which I see is probably not required. Given that PHP is at 5.3.3 is there a way to overcome this error and upgrade DAHDi Config?

I have no interest in wasting anyone's time and apologize for not knowing exactly what will be required for assistance.

Thanks again.
 

Members online

Forum statistics

Threads
26,687
Messages
174,410
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top