[opensuse] How to use PHP 5.2 for some sites in 13.1
Hi, I have server currently running openSUSE 13.1, but I realised, that some sites (those build using Drupal 6) don't work properly with current PHP 5.4 available for 13.1. Is it possible to use PHP 5.2 for some webs? How? Thank You in advance, Vojta -- Vojtěch Zeisek Komunita openSUSE GNU/Linuxu Community of the openSUSE GNU/Linux http://www.opensuse.org/ http://trapa.cz/
El 15/04/14 07:04, Vojtěch Zeisek escribió:
Hi, I have server currently running openSUSE 13.1, but I realised, that some sites (those build using Drupal 6) don't work properly with current PHP 5.4 available for 13.1. Is it possible to use PHP 5.2 for some webs? How? Thank You in advance, Vojta
Hi Vojtěch, only a single PHP version is included in a distribution, you will have to find packages of older version compiled for 13.1 and use mod_proxy_fcgi + php-fpm as described here: http://wiki.apache.org/httpd/PHP-FPM as you cannot load two PHP modules in apache without modifying the sources (nope, nope, nope, do not go that route ;-) ) -- Cristian "I don't know the key to success, but the key to failure is trying to please everybody." -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am 16.04.14 16:26, schrieb Cristian Rodríguez:
El 15/04/14 07:04, Vojtěch Zeisek escribió:
Hi, I have server currently running openSUSE 13.1, but I realised, that some sites (those build using Drupal 6) don't work properly with current PHP 5.4 available for 13.1. Is it possible to use PHP 5.2 for some webs? How? Thank You in advance, Vojta
Hi Vojtěch, only a single PHP version is included in a distribution, you will have to find packages of older version compiled for 13.1 and use mod_proxy_fcgi + php-fpm as described here: http://wiki.apache.org/httpd/PHP-FPM as you cannot load two PHP modules in apache without modifying the sources (nope, nope, nope, do not go that route ;-) )
Vojtěch, you may have a look at my repos at http://download.opensuse.org/repositories/home:/weberho:/PHP53/ which I'm using. As Cristian described, you can only have one PHP version; I will offer this repo for the next few month, as support ends in June 2014. Best regards, Johannes -- Johannes Weberhofer Weberhofer GmbH, Austria, Vienna -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
El 16/04/14 15:07, Johannes Weberhofer escribió:
Vojtěch, you may have a look at my repos at http://download.opensuse.org/repositories/home:/weberho:/PHP53/ which I'm using. As Cristian described, you can only have one PHP version; I will offer this repo for the next few month, as support ends in June 2014.
Oh, I also forgot one big "detail".. not only you can only have one PHP module loaded in apache, but also only one PHP *package* installed, unless the other package is specially built to allow parallel installation of different versions. -- Cristian "I don't know the key to success, but the key to failure is trying to please everybody." -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello Cristian Rodríguez wrote:
El 16/04/14 15:07, Johannes Weberhofer escribió:
Vojtěch, you may have a look at my repos at http://download.opensuse.org/repositories/home:/weberho:/PHP53/ which I'm using. As Cristian described, you can only have one PHP version; I will offer this repo for the next few month, as support ends in June 2014.
Oh, I also forgot one big "detail".. not only you can only have one PHP module loaded in apache, but also only one PHP *package* installed, unless the other package is specially built to allow parallel installation of different versions.
Thank You both. Yeah, I was just thinking about this problem with packages... :-/ So apparently there is no working solution, well, at least not easy... I think I'll live for some time only with PHP 5.3, which is mostly acceptable for all web applications I host and in the meantime I have to push users of Drupal 6 to upgrade. They have to do it soon because of end of life of this version is coming soon... I wouldn't realize, that various versions of PHP can cause so much issues... Regards, Vojtěch -- Vojtěch Zeisek Komunita openSUSE GNU/Linuxu Community of the openSUSE GNU/Linux http://www.opensuse.org/ http://trapa.cz/
participants (3)
-
Cristian Rodríguez
-
Johannes Weberhofer
-
Vojtěch Zeisek