smarty-php / smarty

Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic.
Other
2.23k stars 703 forks source link

last version that supports php v7.0.x? #944

Closed kosuodhmwa closed 4 months ago

kosuodhmwa commented 5 months ago

hi

which is last version that supports php v7.0.x?

thx for feedback.

best regards, jan

kosuodhmwa commented 5 months ago

doesnt work: https://github.com/smarty-php/smarty/releases/tag/v4.4.1 - but you write <Smarty v5 can be run with PHP 7.2 to PHP 8.3>

so v4.4.1 needs php 7.1.x at least to work?

klaoun commented 5 months ago

Hi Try version 4.3.1

kosuodhmwa commented 5 months ago

hi

thank you very much - i tried it, but it does not work; and i've found that page https://www.smarty.net/download which describes that smarty 4.x need higher php version than 7.0.x...

kosuodhmwa commented 5 months ago

maybe there is a fork of smarty 4.x which is compatible?

wisskid commented 5 months ago

Smarty v4 has never supported PHP7.0. You'd have to go al the way back to v3.1.48. @kosuodhmwa

wisskid commented 5 months ago

See https://packagist.org/packages/smarty/smarty#v3.1.48 for an easy overview of versions and requirements.

kosuodhmwa commented 5 months ago

hi

thank you very much, i used google to search for a zip (without composer) & found that page here: https://github.com/smarty-php/smarty/releases/tag/v3.1.48

seems not to be in the "official" release list on https://github.com/smarty-php/smarty/releases?page=3 - is that v3.1.48 a "special" version?

but it seems to work, :-)

KarelWintersky commented 4 months ago

is Smarty5 supports PHP 7.4 ?

scottchiefbaker commented 4 months ago

@KarelWintersky check the documentation here: https://github.com/smarty-php/smarty?tab=readme-ov-file#requirements