Upgarde PHP from 5.1.6 to higher


I have downloaded and installed the latest Freepbx distro a couple of weeks ago and used it to setup my pbx. The distro comes with PHP 5.1.6. Quite a few addons I would like to install and run require PHP 5.3.0 or higher.

Can anyone tell me if it is safe for me to manually upgrade php to higher version on the server without breaking freepbx. Any specific version of php I should avoid or just go and install the latest?

Any advice would be greatly appreciated



Any newer FreePBX Distro version comes preinstalled with PHP 5.3. If your getting PHP 5.1.6, you are either using an old FreePBX Distro version or another distribution. With that said, if you want to use any of our commercial modules, you need to have the FreePBX Distro or PBX in a Flash version 2.0.6 or newer. Those are the only distributions the commercial modules are currently supported on at this time.

There is no way you are using the FreePBX Distro. We have for over a year now only used PHP 5.3

Hi guys

Many thanks for the quick reply. I genuinely thought I had installed the latest version. I will double check. But FYI, I went to http://www.freepbx.org/freepbx-distro which gave me a link to http://www.schmoozecom.com/distro-download.php to download and downloaded the stable release a few weeks ago. Was this wrong?



No that is correct but I dont think that is what you installed. Like I said we have not used PHP 5.1 in over a year now.

Many thanks Tony. I will restart again. Have a lovely holiday.



I downloaded Freepbx from the http://www.asterisk.org/downloads yesterday and after loading i get an error:

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.

Where do i get these dependencies?
In the forums i get bounced to a website that only offers 5.1.6

AsteriskNow does not use PHP 5.3 at this time. The latest DAHDi Config module requires PHP 5.3 to work. Both PBX in a Flash and The FreePBX Distro (which can be downloaded under our downloads section) offer PHP 5.3 at this time.