# package not found apache2-mod\_php5

**URL:** <https://forums.suse.com/t/package-not-found-apache2-mod-php5/28563>\
**Category:** SLES Configure-Administer\
**Created:** [August 24, 2016, 9:22pm UTC](https://forums.suse.com/t/package-not-found-apache2-mod-php5/28563 "2016-08-24T21:22:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![marceloganin](https://avatars.discourse-cdn.com/v4/letter/m/8edcca/32.png) [@marceloganin](https://forums.suse.com/u/marceloganin)\
**Post date:** [August 24, 2016, 9:22pm UTC](https://forums.suse.com/t/package-not-found-apache2-mod-php5/28563/1 "2016-08-24T21:22:00Z")

</div>

hi , I can not install apache2 - mod\_php5 . When I do a zypper install apache2 - mod\_php5 tells me the following :  
package apache2 - mod\_php5 not found.  
I also tried to activate it from the HTTP service Yast but I do not activate the PHP5 module.  
I can help ?

---

<div class="post-metadata">

**Author:** ![ab1](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@ab1](https://forums.suse.com/u/ab1)\
**Post date:** [August 24, 2016, 9:59pm UTC](https://forums.suse.com/t/package-not-found-apache2-mod-php5/28563/2 "2016-08-24T21:59:15Z")

</div>

Which version of SLES?

What versions of mod\_php are available to you?

```auto
zypper se php
```

–  
Good luck.

If you find this post helpful and are logged into the web interface,  
show your appreciation and click on the star below…

---

<div class="post-metadata">

**Author:** ![ketter](https://avatars.discourse-cdn.com/v4/letter/k/2bfe46/32.png) [@ketter](https://forums.suse.com/u/ketter)\
**Post date:** [August 24, 2016, 10:02pm UTC](https://forums.suse.com/t/package-not-found-apache2-mod-php5/28563/3 "2016-08-24T22:02:11Z")

</div>

On Wed, 24 Aug 2016 18:24:02 GMT, marceloganin  
[marceloganin@no-mx.forums.microfocus.com](mailto:marceloganin@no-mx.forums.microfocus.com) wrote:  
[color=blue]

> hi , I can not install apache2 - mod\_php5 . When I do a zypper install  
> apache2 - mod\_php5 tells me the following :  
> package apache2 - mod\_php5 not found.  
> I also tried to activate it from the HTTP service Yast but I do not  
> activate the PHP5 module.  
> I can help ?[/color]

I’m no expert, but a couple years ago when I installed PHP on a SLES  
11 SP3 box, I used “zypper install -y apache2-mod\_php53 php53”. Not  
sure if 53 is the current version you should use or not.

Ken

* * *

Create and vote for enhancements!  
[https://www.novell.com/products/enhancement-request.html](https://www.novell.com/products/enhancement-request.html)

---

<div class="post-metadata">

**Author:** ![marceloganin](https://avatars.discourse-cdn.com/v4/letter/m/8edcca/32.png) [@marceloganin](https://forums.suse.com/u/marceloganin)\
**Post date:** [August 24, 2016, 10:25pm UTC](https://forums.suse.com/t/package-not-found-apache2-mod-php5/28563/4 "2016-08-24T22:25:50Z")

</div>

[QUOTE=ab;34048]Which version of SLES?

What versions of mod\_php are available to you?

```auto
zypper se php
```

–  
Good luck.

If you find this post helpful and are logged into the web interface,  
show your appreciation and click on the star below…[/QUOTE]

Hi, the version of SLES 12 SP1 is

zypper se php:

Updating the service. SUSE\_Linux\_Enterprise\_Server\_12\_SP1\_x86\_64 .  
Loading repository data …  
Reading installed packages …  
We could not find any package …

any option?

---

<div class="post-metadata">

**Author:** ![ab1](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@ab1](https://forums.suse.com/u/ab1)\
**Post date:** [August 24, 2016, 10:57pm UTC](https://forums.suse.com/t/package-not-found-apache2-mod-php5/28563/5 "2016-08-24T22:57:10Z")

</div>

Did you add the “Web and Scripting Module” to your SLES box when you built  
it, or since then? SLES 12 comes with various “modules” that are for a  
specific purpose, so you need to subscribe to those for that  
functionality, which means you get more-frequent updates to those  
packages, and probably better support for current applications that use  
that code as a result.

The following MAY be useful to have:

```auto
zypper lr -u
```

–  
Good luck.

If you find this post helpful and are logged into the web interface,  
show your appreciation and click on the star below…

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [August 24, 2016, 11:01pm UTC](https://forums.suse.com/t/package-not-found-apache2-mod-php5/28563/6 "2016-08-24T23:01:20Z")

</div>

> [@](#):
>
> On Wed 24 Aug 2016 07:34:02 PM CDT, marceloganin wrote:
> 
> ab;34048 Wrote:[color=blue]
> 
> > Which version of SLES?
> > 
> > What versions of mod\_php are available to you?  
> > [color=green]
> > 
> > > [/color][/color]  
> > > Code:  
> > > --------------------[color=blue][color=green]  
> > > [/color]  
> > > zypper se php  
> > > [/color]  
> > > --------------------[color=blue][color=green]  
> > > [/color]
> > 
> > –  
> > Good luck.
> > 
> > If you find this post helpful and are logged into the web interface,  
> > show your appreciation and click on the star below…[/color]
> 
> Hi, the version of SLES 12 SP1 is
> 
> zypper se php:
> 
> Updating the service. SUSE\_Linux\_Enterprise\_Server\_12\_SP1\_x86\_64 .  
> Loading repository data …  
> Reading installed packages …  
> We could not find any package …
> 
> any option?

Hi  
Have you added the web scripting module?

```auto
SUSEConnect -s
SUSEConnect --list-extensions
SUSEConnect -p <internal name>/<version>/<architecture>
```

–  
Cheers Malcolm Â°Â¿Â° LFCS, SUSE Knowledge Partner (Linux Counter #276890)  
openSUSE Leap 42.1|GNOME 3.16.2|4.1.27-27-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!

---

<div class="post-metadata">

**Author:** ![marceloganin](https://avatars.discourse-cdn.com/v4/letter/m/8edcca/32.png) [@marceloganin](https://forums.suse.com/u/marceloganin)\
**Post date:** [August 25, 2016, 2:16pm UTC](https://forums.suse.com/t/package-not-found-apache2-mod-php5/28563/7 "2016-08-25T14:16:05Z")

</div>

[QUOTE=malcolmlewis;34054]Hi  
Have you added the web scripting module?

```auto
SUSEConnect -s
SUSEConnect --list-extensions
SUSEConnect -p <internal name>/<version>/<architecture>
```

–  
Cheers Malcolm Â°Â¿Â° LFCS, SUSE Knowledge Partner (Linux Counter #276890)  
openSUSE Leap 42.1|GNOME 3.16.2|4.1.27-27-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![/QUOTE]

thanks , with these commands I could see and add the repository I needed.  
SUSEConnect -p sle-module-web-scripting/12/x86\_64

Solved!
