It is possible CentOS 7 + PHP 5.2 ??

Issues related to applications and software problems
Post Reply
nige
Posts: 4
Joined: 2017/07/15 04:20:45

It is possible CentOS 7 + PHP 5.2 ??

Post by nige » 2017/07/15 04:43:59

Erratum faith:

Where I said "and for xajax there is no support in PostgreSQL 9.4" should have said "and for xajax there is no support in PHP 5.4", ergo, I need to install PHP 5.2 on Centos 7 ...

So the whole text should read:

Very good day. In my work I am moving an administrative web application from an old and newly damaged server, with Debian + Apache + PHP 5.2 + PostgreSQL. I've always liked CentOS so I installed CentOS 7 Minimal + Apache + PHP 5.4 + PostgreSQL and with the backups it almost works perfectly unless the web application uses the xajax 0.5 library in a hundred routines, and for xajax already There is no support in PHP 5.4. My intention is to install PHP 5.2 on CentOS 7 and to be able to run the web application correctly, but I could not install PHP 5.2 on CentOS 7. I have followed several tutorials but I have not succeeded. Can someone tell me if it is possible?

I do not want to have to rewrite so much code, it's a very large application.

Note: I already tried to install in CentOS 5 + Apache + PHP 5.1 + PostgreSQL and it works great but I can not connect the pgAdmin remotely to the server, with Valentina Studio if I was able to connect but not see the databases.
Last edited by nige on 2017/07/15 19:10:52, edited 1 time in total.

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: It is possible CentOS 7 + PostgreSQL 8.2 ??

Post by TrevorH » 2017/07/15 11:42:41

CentOS 7 ships postgresql 9.2 and I am not aware of any way to get 8.2 on it. CentOS 5 is out of support so you don't want to run that. However, CentOS 6 is still supported (until 2020) and ships with postgresql 8.4
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

nige
Posts: 4
Joined: 2017/07/15 04:20:45

Erratum faith

Post by nige » 2017/07/15 19:08:20

Erratum faith

Where it says "and for xajax there is no support in PostgreSQL 9.4" should say "and for xajax there is no support in PHP 5.4", ergo, I need to install PHP 5.2 on Centos 7 ...

So all text is available

Very good day In my work I'm moving a web application from an old and newly damaged server, with Debian + Apache + PHP 5.2 + PostgreSQL. I have always liked CentOS so it has installed CentOS 7 Minimal + Apache + PHP 5.4 + PostgreSQL and with backups almost works perfectly not to be because the web application uses the xajax 0.5 library in a hundred routines, and for xajax There is no support in PHP 5.4. My intention is to install PHP 5.2 on CentOS 7 and thus be able to properly run the web application, but could not install PHP 5.2 on CentOS 7. He always several tutorials but not achieved. Can someone tell me if it is possible?

I do not want to have to rewrite so much code, it's a very large application.

Note: I already tried to install in CentOS 5 + Apache + PHP 5.1 + PostgreSQL and it works great but I am not able to connect the pgAdmin remotely to the server, with Valentina Studio and yet the databases.

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: It is possible CentOS 7 + PHP 5.2 ??

Post by TrevorH » 2017/07/15 19:21:15

You really don't want to do that. 5.2.17 was the latest version ever and that has been out of support for literally years and contains serious security vulnerabilities. It's dangerous.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

nige
Posts: 4
Joined: 2017/07/15 04:20:45

I understand what you're saying!

Post by nige » 2017/07/15 20:28:58

I understand what you're saying, brother. But the problem is that it will take more work to migrate all the application that has hundreds of * .php and all the hot queries are done with Xajax 0.5. It will only work on an internal network that is not connected to the Internet.

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: It is possible CentOS 7 + PHP 5.2 ??

Post by TrevorH » 2017/07/15 20:41:15

If I recall other threads correctly, it won't even build on CentOS 7.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

nige
Posts: 4
Joined: 2017/07/15 04:20:45

I have tried in Centos 7 . . .

Post by nige » 2017/07/15 20:44:03

I have tried in Centos 7 with what I found for CentOS 6 but it did not give me results, so I asked the question in case maybe someone has succeeded.

mghe
Posts: 766
Joined: 2015/11/24 12:04:43
Location: Katowice, Poland

Re: I have tried in Centos 7 . . .

Post by mghe » 2017/07/17 10:20:14

nige wrote:.... I asked the question in case maybe someone has succeeded.
If You have a dedicated application, You have to dedicated system.

So You have 2 way, update app or adapt OS, so if You don't change application then You have one way.

Base on one of current distro install all required component and rest install from source.

You have to awareness about security of use old unsupported version of software and other bugs.

Post Reply