Hi, I am trying to install PHP 5.3.29 as a second PHP-Version on Ubuntu 16.04 with ISPConfig. When I do apt-get build-dep php5 I get a Warning that I have to add some URIs to my sources.list. What are the correct URIs so I can get all the dependencies?
Hello, i have the same problem. Code: root@hosting:/usr/local/src/php5-build/php-5.6.21# apt-get build-dep php5 Reading package lists... Done E: Unable to find a source package for php5 Some ideas ?
The above command installs the libraries that are required to compile php, these are not php5 specific so it is very likely that the requirements from php 7 will work for php 5 as well.
I need PHP 5 working as well with 16.04 LTS. Any updates on getting both PHP versions working on ISPconfig?
Install the PHP compilation dependencies. There are several ways to do this, if Ubuntu does not ship a build deb package anymore, then you can e.g. install them manually as described here: https://www.howtoforge.com/tutorial/how-to-install-php-7-on-debian/
Had the same problem too. Tried to install additional PHP 5.6.11 on a Ubuntu 16.04 / PHP 7.0 and use it in my ISPConfig for some older sites. Followed instructions from here. apt-get build-dep php5 failed here too. Followed till's suggestion and run apt-get build-dep php7.0 But first I edited sources.list and enabled all deb-src urls there. nano /etc/apt/sources.list and remove # in front of deb-src urls. No errors, no problems...
Have you tried to enable all deb-src urls in your sources.list file and then run apt-get build-dep php7.0 ?
Hi, did you try to use ondrej's ppa for that purpose? It has deb packages for php 5.6 and php 7 and I believe they should live together fine. Just try this: Code: apt install software-properties-common python-software-properties LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php apt update apt search php5.6 apt search php7.0 apt search php7.1 It's not really related to head topic, since Ondrej does not support php<5.6 now, but still...