Install PHP 5.6

Hello,
is there a way to install PHP 5.6 on SLES 12 SP2? If I search with Yast I can only find php 5.5 or php 7. I found this repository http://download.opensuse.org/repositories/devel:/languages:/php/SLE_12_SP2/x86_64/ that contains PHP 5.6 , I added it to yast but if I search for PHP I do not find the main package php5-5.6.30-368.1.x86_64.rpm .
Do you have any clue?

sistemi,

It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

These forums are peer-to-peer, best effort, volunteer run and that if your issue
is urgent or not getting a response, you might try one of the following options:

Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.suse.com/faq.php

If this is a reply to a duplicate posting or otherwise posted in error, please
ignore and accept our apologies and rest assured we will issue a stern reprimand
to our posting bot…

Good luck!

Your SUSE Forums Team
http://forums.suse.com

[QUOTE=sistemi_yacme;37763]Hello,
is there a way to install PHP 5.6 on SLES 12 SP2? If I search with Yast I can only find php 5.5 or php 7. I found this repository http://download.opensuse.org/repositories/devel:/languages:/php/SLE_12_SP2/x86_64/ that contains PHP 5.6 , I added it to yast but if I search for PHP I do not find the main package php5-5.6.30-368.1.x86_64.rpm .
Do you have any clue?[/QUOTE]

Hi
For installing PHP version 5 or 7 in Suse server (Sles12SP1-3) you must add php repository to server. For example add php5.6 repository to SLES12SP3 you must add below command:

zypper addrepo http://download.opensuse.org/repositories/devel:/languages:/php:/php56/SLE_12_SP3/devel:languages:php:php56.repo

or for add php7.1 repository to SLES12 Sp3 run this command:
zypper addrepo http://download.opensuse.org/repositories/devel:/languages:/php:/php71/SLE_12_SP3/devel:languages:php:php71.repo

after that go to software management by yast and install php

Hi,

just for completeness sake:

[QUOTE=mnordesigner;54353]Hi
For installing PHP version 5 or 7 in Suse server (Sles12SP1-3) you must add php repository to server. For example add php5.6 repository to SLES12SP3 you must add below command:

zypper addrepo http://download.opensuse.org/repositories/devel:/languages:/php:/php56/SLE_12_SP3/devel:languages:php:php56.repo

or for add php7.1 repository to SLES12 Sp3 run this command:
zypper addrepo http://download.opensuse.org/repositories/devel:/languages:/php:/php71/SLE_12_SP3/devel:languages:php:php71.repo

after that go to software management by yast and install php[/QUOTE]

this will add external repositories to the server and void the support status.

php7 is part of the SLE “web and scripting module”, supported on SLES12.

The original question was for PHP 5.6 onSLES12SP2, though. I could not find a supported source for that for SLES12.

[QUOTE=sistemi_yacme;37763]I found this repository http://download.opensuse.org/repositories/devel:/languages:/php/SLE_12_SP2/x86_64/ that contains PHP 5.6 , I added it to yast but if I search for PHP I do not find the main package php5-5.6.30-368.1.x86_64.rpm .
Do you have any clue?[/QUOTE]
By now there aren’t PHP 5.6 packages in there any longer - currently it’s PHP 7. If support from SUSE for such a server is a non-issue, you today might want to add the PHP56 repos via i.e. CLI: “zypper ar -fc http://download.opensuse.org/repositories/devel:/languages:/php:/php56/SLE_12_SP2/ php56”.

Regards,
J