D
D
Danila2016-09-19 12:29:02
PHP
Danila, 2016-09-19 12:29:02

How can I find the compiled PHP?

Hello! My VDS doesn't have enough RAM to compile PHP 5.6.26 and I compiled PHP in a virtual machine running Ubuntu 16.04 x64 (with make and then make install ). How can I drag an already compiled program onto a Debian 8.5 Jessie VDS?
I’ll explain why I need all this and why I can’t install PHP 5 with the apt-get install php5
command apt-get install php7.0. Bitrix needs PHP 5 for normal operation, then I need 2 versions of PHP on one VDS - 7.0 and 5.6
I can’t compile PHP on VDS, because VDS only has 512 MB of RAM.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander Aksentiev, 2016-09-19
@Sanasol

Why did you even try / are trying to do this?
apt-get install php5

N
neol, 2016-09-19
@neol

If php7.0 was installed with dotdeb , then this package gets along well with 5.6.24 from the distribution (although even if not from there, then there is a high probability that it will start normally). You don't need to compile anything.
True, apache through mod_php can only use one version (it doesn’t matter how installed), but through cgi / fastcgi or php-fpm you can get at least 20 different ones.

S
Sanes, 2016-09-19
@Sanes

sudo add-apt-repository ppa:ondrej/php
sudo apt-get update

https://launchpad.net/~ondrej/+archive/ubuntu/php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question