B
B
begemot_nn2015-02-13 19:50:35
linux
begemot_nn, 2015-02-13 19:50:35

How to install old php-fpm (specifically 5.1.6) on fresh ubuntu?

Good day.
there is a task to transfer a site written in a very old Drupal (in 2005) to another hosting. The engine is so old and sawn so many times by someone manually that it is no longer possible to update it using Drupal.
The old hosting is running PHP 5.1.6. on any, more recent versions of PHP, this site does not start.
The problem is complicated by the fact that you need to transfer the site without a big downtime, so I decided to put it in a separate docker container on my hosting and create its native environment for it.
Actually the problem is that I can not find such an old PHP in the ubunt repositories.
I dug even in turnips from 10.04. there is also 5.3.
PS Of course, I would not want to completely dockerize it. It would be ideal to build a container with PHP-FPM of the required version (I can do this if I find it)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Melkij, 2015-02-13
@melkij

Emnip, FPM was accepted only in 5.3.3, there were separate patches for 5.2. and for 5.1 FPM didn't exist at all.
Only CGI or the Apache module was then a choice. How to install - build from source.

P
Puma Thailand, 2015-02-13
@opium

take an older ubuntu in the same openvz container
openvz.org/Download/template/precreated
well, or centos in the fifth was, in my opinion, by default 5.1 php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question