Upgrade php version

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
taouja
Posts: 9
Joined: 19 Aug 2014, 10:09

Upgrade php version

Post by taouja »

Hello,

The actuelle version du PHP in the Mantis server is 5.2.5.
Can we upgrade to PHP version 5.3.12 / 5.4.2 or later without any risk ?

Thank you for your response
Regards
atrol
Site Admin
Posts: 8589
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Upgrade php version

Post by atrol »

Which version of MantisBT do you use?
Please use Search before posting and read the Manual
taouja
Posts: 9
Joined: 19 Aug 2014, 10:09

Re: Upgrade php version

Post by taouja »

It displays at the bottom of the homepage Mantis 1.1.1 but I can't confirm if it is OK
Is there any way to know exactly the right version ?
atrol
Site Admin
Posts: 8589
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Upgrade php version

Post by atrol »

Have a look at file core/constant_inc.php
There you will find something like
define( 'MANTIS_VERSION', '1.1.1' );

If your version is 1.1.1 you should be aware that this version has been released in January 2008 whereas PHP 5.3 has been released in June 2009.
Thus no developer was able to consider PHP 5.3 in MantisBT 1.1.1.
taouja wrote:Can we upgrade to PHP version 5.3.12 / 5.4.2 or later without any risk ?
There is obviously a risk.
Please use Search before posting and read the Manual
taouja
Posts: 9
Joined: 19 Aug 2014, 10:09

Re: Upgrade php version

Post by taouja »

Hello,

Thank you for your response.
I didn't found the file in the C:\Program Files\xampp\.

Which version of Mantis we must use in order to upgrade php to 5.3.12 / 5.4.2 ?
Regards
atrol
Site Admin
Posts: 8589
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Upgrade php version

Post by atrol »

I recommend to use latest stable version (1.2.17 at the moment).
Please use Search before posting and read the Manual
taouja
Posts: 9
Joined: 19 Aug 2014, 10:09

Re: Upgrade php version

Post by taouja »

ok thank you for your response.
An another question please about the OpenSSL.

We must also upgrade the OpenSSL from version 0.9.8 to 0.9.8za in the same server Mantis 1.1.1 ? is there any risk or the OpenSSL is only a complementary component.

Regards
atrol
Site Admin
Posts: 8589
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Upgrade php version

Post by atrol »

There is always a risk that any change breaks a running system, but I don't expect that MantisBT is affected by changing OpenSSL.
Please use Search before posting and read the Manual
Post Reply