Hey guys,
What happened to PHP in SLES 12?
It’s not there anymore, I even tried to compile it and there is no apxs2 file for Apache (apache2-devel) either, so I’m confused what happened to good old SLES?
Hey guys,
What happened to PHP in SLES 12?
It’s not there anymore, I even tried to compile it and there is no apxs2 file for Apache (apache2-devel) either, so I’m confused what happened to good old SLES?
Hi
Did you add the “SLE-Module-Web-Scripting12” and “SLE-SDK12” repository
extensions? If not YaST → Add on product.
–
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.28-4-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!
zypper info php5
Refreshing service ‘SUSE_Linux_Enterprise_Server_12_x86_64’.
Refreshing service ‘SUSE_Linux_Enterprise_Software_Development_Kit_12_x86_64’.
Refreshing service ‘Web_and_Scripting_Module_12_x86_64’.
Loading repository data…
Reading installed packages…
Repository: SLE-Module-Web-Scripting12-Updates
Name: php5
Version: 5.5.14-7.1
Arch: x86_64
Vendor: SUSE LLC https://www.suse.com/
Installed: No
Status: not installed
Installed Size: 10.0 MiB
Summary: PHP5 Core Files
Description:
This package contains the PHP5 core files, including PHP binary (CLI)
and PHP configuration (php.ini). This package must be installed in
order to use PHP. Additionally, extension modules and server modules
(e.g. for Apache) may be installed.
Additional documentation is available in package php-doc.
#> zypper install sle-module-web-scripting-release
You can find apx2 installing apache2-devel package. This package is included in SUSE Linux Enterprise SDK 12 extension.
Regards
Thanks all for your replies, but I decided to build it using my private OBS appliance and I have 5.6.3 on SLE 12 up and running.
On 05/12/2014 14:44, jurgen73 wrote:
[color=blue]
Thanks all for your replies, but I decided to build it using my private
OBS appliance and I have 5.6.3 on SLE 12 up and running.[/color]
Note that the Web and Scripting Module currently provides PHP 5.5.14
which is supported by SUSE - if you have an issue relating to your own
PHP 5.6.3 packages you will not be supported.
Simon
SUSE Knowledge Partner
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=mnordesigner;54354]
zypper addrepo http://download.opensuse.org/repositories/devel:/languages:/php:/php56/SLE_12_SP3/devel:languages:php:php56.repo
zypper addrepo http://download.opensuse.org/repositories/devel:/languages:/php:/php71/SLE_12_SP3/devel:languages:php:php71.repo[/QUOTE]
[COLOR=#333333][FONT=Arial]Note: [/FONT][/COLOR]mnordesigner has replied to a post that is almost 4 years old!
[COLOR=#333333][FONT=Arial]
Adding the external opensuse repositories to your server will void your support![/FONT][/COLOR]
Please refer to this post by jmozden for additional details.