I am using ISPConfig 3.x. (not sure how to see the version from with in ISPConfig.) Using DEbian 7.x Installed using the perfect ispconfig install. I have been seeing issues with my PHP version needing upgrading. Software is requesting PHP v7. I wanted to know what the best path is to upgrading the server? 1 - upgrade PHP to version 7 2 - upgrade the server to a newer version of Debiean containing HP 7? I found a tutorial on this site for upgrading debian 8 to debian 9. There must be a way to upgrade form v7 to v8. I need suggestions as to the best/right pathway. My server probably needs updating anyway, so maybe this is a time to upgrade. While upgrading, will websites, emails an databases break along the way? It is an ISPConfig based server. Thanks for any feed back. Joseph
if you don't need php5.6, you can upgrade the server to jessie and afterwards to stretch. or just install php7 as an additional php-version.
Hello, Thanks for the reply. I am not sure that I need 5.6 specifically. I have a few websites on the server, mainly running with WordPress. The other thing I use on a regular basis is SuiteCRM, a fork from SugarCRM. It if this that is asking for PHP7. I am also looking at installing NextCloud. It requires PHP7. I have done nothing else fancy with the server and websites. So, it should not break on upgrade. ISPConfig server is running on VMWare, so I can make a copy before upgrading, in case there are any issues. I found this upgrade path to Debian 8: https://www.howtoforge.com/tutorial/how-to-upgrade-debian-wheezy-to-jessie-stable-release/ I will need to find a tutorial from v8 to v9. In which version does PHP7 appear? Debian 9? Thanks Joseph
Thanks of the help. After thinking about it, and talking to a friend who is a server IT guy, I think that u^grading PHP willbe my best route. I noticed on IS¨Config, there is a way to add a secondPHP version. I seem to need to to add the path to theISPConfig. There are two options: FastCGI and PHP-FPM I seem to need t upload PHP7 to my server in a directory. On debian 7, I found the current PHP is: /etc/PHP5 I presume I will add the new one to /etc/PHP7 Thanks for your feedback Joseph
Upgrading the main php will make it impossible to install ispconfig updates as ispconfig does not support that you change the main php of the os. You can install newer and older additional PHP versions though and configure them in ISPConfig. So either you update the OS to get a new PHP version or you install an additional PHP version and don't touch the main php of the OS.
Hello, Yes, my goal is not to erase the current one, but to add a second one side by side with the current one. I happen to find a tutorial on this site about having two version 5.3x and 5.4.x. Does there happen to be something about adding PHP 7.x as the second PHP version? Have a great day Joseph
Helo, I found two tutorials to help on upgrade to PHP 7 with Debian 8 and 9. But, I have Debian 7. Will these tutorials work for Debian 7? Thanks Joseph
I don't have much to say on this post but I want to point out that every version of Debian GNU/Linux comes with a detailed manual on upgrading from the previous release. The Release Notes -document contains this upgrade manual. For example, for upgrades from Debian 7 to Debian 8, See Jessie Release Notes: https://www.debian.org/releases/jessie/amd64/release-notes/index.en.html The release notes are published for all supported architectures in Debian, and are available in several languages: https://www.debian.org/releases/jessie/releasenotes
The best you can do is upgrade Debian 7 to 8 then install additional versions of php as suggested above. I have both php 5.6 and 7.0.3 on my Debian 7 server and i'll upgrade to Debian 8 in the next week keeping the base php untouched. Upgrading from 8 to 9 is a pain (i was trying different upgrades in a VPS and in a virtualBox computer)
Thanks for the various replies. I am going to try adding a PHP in the next few days. I was wondering as well. When there is 2 or more PHP version s installed on ISPConfig, are they all "on" at the same time? Do we need to choose one to be active If more than one are active, how does the server know which one to use? Just trying to understand things Thanks Joseph
Yes, they are on all the time. The chosen to be active is made automatically by ispconfig. You only have to select the default php base for ispconfig. If you are in Debian 7 you only have to follow any of the tutorials you can find on the net