Need of php5 rpms link for installation of SLES12 SP4

Hi,

Can anyone provide a link of PHP5 rpm’s to install SLES 12SP4.

[QUOTE=ashwini_s1;59056]Hi,

Can anyone provide a link of PHP5 rpm’s to install SLES 12SP4.[/QUOTE]
Hi and welcome to the Forum :slight_smile:
You can’t use the default php7? Is the system registered with SUSEConnect?

You could look the the openSUSE Build Service for an unsupported and likely insecure version of php5 build by a user…
https://software.opensuse.org/package/php5

eg: https://build.opensuse.org/package/show/home:interstar001:php54/php-5.4

Happy New Year malcolmlewis

We need PHP5 as part of the requirement, I tried installing the “php5-5.4.45-56.9.x86_64.rpm”, when i launch the Nagios console, it results in “The Site can’t be reached”.

Can you help me in providing the PHP5 RPM specific to apache2 ??

[QUOTE=ashwini_s1;59147]Happy New Year malcolmlewis

We need PHP5 as part of the requirement, I tried installing the “php5-5.4.45-56.9.x86_64.rpm”, when i launch the Nagios console, it results in “The Site can’t be reached”.

Can you help me in providing the PHP5 RPM specific to apache2 ??[/QUOTE]
Hi
Sounds like php5 hasn’t been configured for Apache?

apache2ctl -M

Can you help me in configuring Apache for PHP5 ? is there a command to do it ?

Hi
So did it show up in the output?

You enable via the following command;

a2enmod <your_module_name>
systemctl restart apache2

[QUOTE=ashwini_s1;59147]Happy New Year malcolmlewis

We need PHP5 as part of the requirement, I tried installing the “php5-5.4.45-56.9.x86_64.rpm”, when i launch the Nagios console, it results in “The Site can’t be reached”.

Can you help me in providing the PHP5 RPM specific to apache2 ??[/QUOTE]

Is it Nagios which you want to use with PHP5? If so, which version of Nagios? Installing PHP5 on SLES12 (SP4) will not be supported by SUSE but Nagios should work with PHP7.

HTH.