Slim for PHP4 (4.4.8)

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

Change your hosting provider.

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

2 Likes

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

1 Like

From 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
8 years ago end of life.

2 Likes

Thank you all for your prompt replies!

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

–hfrmobile

According to the site at sprit.org the pro and multi tiers offer PHP 7.0.

1 Like

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.

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

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

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

Solved.

After upgrade process now: PHP version: 7.0.19-1

1 Like