The officially official Devuan Forum!

You are not logged in.

#1 2018-07-09 13:08:28

UnclePa
Member
Registered: 2018-07-06
Posts: 30  

[Solved] Older version of php

I just installed Devuan last week so this is a newbie question.  I need to run an older version of php (5.6 specifically).  It doesn't show up in synaptic.  I want to stay clear of systemd.  Can I safely add a Debian repository to get the binary package or should I compile it from source?

Last edited by UnclePa (2018-07-09 21:15:37)

Offline

#2 2018-07-09 20:11:50

devuser
Member
Registered: 2018-04-30
Posts: 176  

Re: [Solved] Older version of php

Might be better to switch to something newer as 5.6 will EOL in about 5 months. As for adding repos it depends and giving a general opinion is pretty much impossible. What repo would you want to add? Cleanest option would probably be to build your own packages though.

Last edited by devuser (2018-07-09 20:12:25)

Offline

#3 2018-07-09 21:15:11

UnclePa
Member
Registered: 2018-07-06
Posts: 30  

Re: [Solved] Older version of php

Thanks for the reply.  Can't switch to something new yet.  We have hundreds of mysql calls that are deprecated and converting them to PDO is a pretty low priority (not to mention horribly boring).  I wasn't able to compile without downgrading openssl (I think that's the one) which I didn't want to do so ended up following the directions at https://packages.sury.org/php.  It seems to be working fine.  Thanks again.

Offline

#4 2018-07-09 21:17:14

ralph.ronnquist
Administrator
From: Clifton Hill, Victoria, AUS
Registered: 2016-11-30
Posts: 1,107  

Re: [Solved] Older version of php

Devuan jessie has 5.6.36+dfsg-0+deb8u1, in jessie-security, so you might be able to install from there.

Online

Board footer