# Slim for PHP4 (4.4.8)

**URL:** <https://discourse.slimframework.com/t/slim-for-php4-4-4-8/1619>\
**Category:** Questions\
**Created:** [June 27, 2017, 5:51pm UTC](https://discourse.slimframework.com/t/slim-for-php4-4-4-8/1619 "2017-06-27T17:51:52Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![hfrmobile](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.slimframework.com/hfrmobile/32/441_2.png) [@hfrmobile](https://discourse.slimframework.com/u/hfrmobile)\
**Post date:** [June 27, 2017, 5:51pm UTC](https://discourse.slimframework.com/t/slim-for-php4-4-4-8/1619/1 "2017-06-27T17:51:52Z")

</div>

Like to develop a RESTful service with Slim and PHP (CRUD operations, MySQL database).

But my web hoster only provides PHP4 (PHP 4.4.8-pl0-gentoo) and the Slim documentation says that PHP 5.5 is a per-requisite for the current version.

Exists there an older version that works with PHP4?

Thanks in advance,  
hfrmobile

---

<div class="post-metadata">

**Author:** ![akrabat](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.slimframework.com/akrabat/32/9_2.png) [@akrabat](https://discourse.slimframework.com/u/akrabat)\
**Post date:** [June 27, 2017, 6:39pm UTC](https://discourse.slimframework.com/t/slim-for-php4-4-4-8/1619/2 "2017-06-27T18:39:08Z")

</div>

Change your hosting provider.

PHP 4.4 is insecure and far too old to be using today.

---

<div class="post-metadata">

**Author:** ![geggleto](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.slimframework.com/geggleto/32/11_2.png) [@geggleto](https://discourse.slimframework.com/u/geggleto)\
**Post date:** [June 27, 2017, 6:44pm UTC](https://discourse.slimframework.com/t/slim-for-php4-4-4-8/1619/3 "2017-06-27T18:44:04Z")

</div>

You can use Slim 1 maybe… but i don’t know how you would get ahold of it.

---

<div class="post-metadata">

**Author:** ![damianopetrungaro](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.slimframework.com/damianopetrungaro/32/236_2.png) [@damianopetrungaro](https://discourse.slimframework.com/u/damianopetrungaro)\
**Post date:** [June 27, 2017, 6:46pm UTC](https://discourse.slimframework.com/t/slim-for-php4-4-4-8/1619/4 "2017-06-27T18:46:37Z")

</div>

From [PHP.net](http://PHP.net)

> The PHP 4 documentation was removed from the PHP Manual in August 2014, approximately six years after PHP 4 reached its end of life. However, we have provided downloadable copies of the manual for anyone who would need it.

[http://php.net/eol.php](http://php.net/eol.php)  
8 years ago end of life.

---

<div class="post-metadata">

**Author:** ![hfrmobile](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.slimframework.com/hfrmobile/32/441_2.png) [@hfrmobile](https://discourse.slimframework.com/u/hfrmobile)\
**Post date:** [June 28, 2017, 5:48am UTC](https://discourse.slimframework.com/t/slim-for-php4-4-4-8/1619/5 "2017-06-28T05:48:21Z")

</div>

Thank you all for your prompt replies!

I’ve asked my Webhoster ([Sprit.org](http://Sprit.org)) to provide a more current version of PHP …

–hfrmobile

---

<div class="post-metadata">

**Author:** ![llvdl](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.slimframework.com/llvdl/32/78_2.png) [@llvdl](https://discourse.slimframework.com/u/llvdl)\
**Post date:** [June 28, 2017, 8:42pm UTC](https://discourse.slimframework.com/t/slim-for-php4-4-4-8/1619/6 "2017-06-28T20:42:45Z")

</div>

According to the site at [sprit.org](http://sprit.org) the pro and multi tiers offer PHP 7.0.

---

<div class="post-metadata">

**Author:** ![hfrmobile](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.slimframework.com/hfrmobile/32/441_2.png) [@hfrmobile](https://discourse.slimframework.com/u/hfrmobile)\
**Post date:** [June 28, 2017, 10:23pm UTC](https://discourse.slimframework.com/t/slim-for-php4-4-4-8/1619/7 "2017-06-28T22:23:23Z")

</div>

When I call phpinfo() on my site I get the information:

> PHP Version 4.4.8-pl0-gentoo

> System Linux http2 2.6.32.71-r1 #1 Fri Oct 21 22:44:44 CEST 2016 i686  
> Build Date Aug 7 2008 15:34:02

etc.

---

<div class="post-metadata">

**Author:** ![llvdl](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.slimframework.com/llvdl/32/78_2.png) [@llvdl](https://discourse.slimframework.com/u/llvdl)\
**Post date:** [June 29, 2017, 7:47pm UTC](https://discourse.slimframework.com/t/slim-for-php4-4-4-8/1619/8 "2017-06-29T19:47:59Z")

</div>

You are right to expect PHP 7.0 when calling `phpinfo()`.

---

<div class="post-metadata">

**Author:** ![hfrmobile](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.slimframework.com/hfrmobile/32/441_2.png) [@hfrmobile](https://discourse.slimframework.com/u/hfrmobile)\
**Post date:** [July 4, 2017, 11:02pm UTC](https://discourse.slimframework.com/t/slim-for-php4-4-4-8/1619/9 "2017-07-04T23:02:16Z")

</div>

Hm … using Pro … I have to talk to my webhoster

---

<div class="post-metadata">

**Author:** ![hfrmobile](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.slimframework.com/hfrmobile/32/441_2.png) [@hfrmobile](https://discourse.slimframework.com/u/hfrmobile)\
**Post date:** [July 4, 2017, 11:17pm UTC](https://discourse.slimframework.com/t/slim-for-php4-4-4-8/1619/10 "2017-07-04T23:17:32Z")

</div>

I need to upgrade my web space … upgrade is running …

---

<div class="post-metadata">

**Author:** ![hfrmobile](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.slimframework.com/hfrmobile/32/441_2.png) [@hfrmobile](https://discourse.slimframework.com/u/hfrmobile)\
**Post date:** [July 5, 2017, 6:12am UTC](https://discourse.slimframework.com/t/slim-for-php4-4-4-8/1619/11 "2017-07-05T06:12:31Z")

</div>

Solved.

After upgrade process now: **PHP version: 7.0.19-1**
