# getting PHP to use with apache.

**URL:** <https://forums.suse.com/t/getting-php-to-use-with-apache/29329>\
**Category:** SLES for Raspberry Pi\
**Created:** [February 8, 2017, 4:15am UTC](https://forums.suse.com/t/getting-php-to-use-with-apache/29329 "2017-02-08T04:15:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jgforbes](https://avatars.discourse-cdn.com/v4/letter/j/9de0a6/32.png) [@jgforbes](https://forums.suse.com/u/jgforbes)\
**Post date:** [February 8, 2017, 4:15am UTC](https://forums.suse.com/t/getting-php-to-use-with-apache/29329/1 "2017-02-08T04:15:10Z")

</div>

Since the SDK modules are not available.  
Can anyone give guidance on compiling php to work with apache on SLES for RPI?

---

<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:** [February 8, 2017, 4:30am UTC](https://forums.suse.com/t/getting-php-to-use-with-apache/29329/2 "2017-02-08T04:30:41Z")

</div>

> [@](#):
>
> On Wed 08 Feb 2017 02:24:02 AM CST, jgforbes wrote:
> 
> Since the SDK modules are not available.  
> Can anyone give guidance on compiling php to work with apache on SLES  
> for RPI?

Hi  
I built it on OBS for my needs… feel free to use until the SDK  
arrives (hopefully soon…);  
[http://download.opensuse.org/repositories/home:/malcolmlewis:/ARM:/TESTING/SUSE\_SLE-12-SP2\_aarch64/](http://download.opensuse.org/repositories/home:/malcolmlewis:/ARM:/TESTING/SUSE_SLE-12-SP2_aarch64/)

–  
Cheers Malcolm Â°Â¿Â° SUSE Knowledge Partner (Linux Counter #276890)  
openSUSE Leap 42.1|GNOME 3.16.2|4.1.36-44-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:** ![jgforbes](https://avatars.discourse-cdn.com/v4/letter/j/9de0a6/32.png) [@jgforbes](https://forums.suse.com/u/jgforbes)\
**Post date:** [February 9, 2017, 7:04am UTC](https://forums.suse.com/t/getting-php-to-use-with-apache/29329/3 "2017-02-09T07:04:31Z")

</div>

Thanks for doing the heavy lifting. I am a long time user of RedHat, but I was having difficulty getting the packages necessary to build PHP for the SLES RPI.  
I am sure that it would benefit many of you could give a few details on how you created this repository.

---

<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:** [February 13, 2017, 5:22pm UTC](https://forums.suse.com/t/getting-php-to-use-with-apache/29329/4 "2017-02-13T17:22:42Z")

</div>

[QUOTE=jgforbes;36463]Thanks for doing the heavy lifting. I am a long time user of RedHat, but I was having difficulty getting the packages necessary to build PHP for the SLES RPI.  
I am sure that it would benefit many of you could give a few details on how you created this repository.[/QUOTE]  
Hi  
The projects on OBS are all visible… 😉

I have two for SLES RPI;  
[https://build.opensuse.org/project/show/home:malcolmlewis:ARM:TESTING](https://build.opensuse.org/project/show/home:malcolmlewis:ARM:TESTING)  
[https://build.opensuse.org/project/show/home:malcolmlewis:SLES12-SP2-RPI-Extra](https://build.opensuse.org/project/show/home:malcolmlewis:SLES12-SP2-RPI-Extra)

Some are just links to other existing (maintained) packages on OBS, others built from scratch…

For example the php5 links to openSUSE:Factory php5  
[https://build.opensuse.org/package/show/home:malcolmlewis:ARM:TESTING/php5](https://build.opensuse.org/package/show/home:malcolmlewis:ARM:TESTING/php5)

Create and account, setup your repos and build away 🙂  
[https://en.opensuse.org/Category:Build\_Service](https://en.opensuse.org/Category:Build_Service)
