News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

PHP version does not meet requirements error

Started by zazen, Today at 03:15:18 PM

Previous topic - Next topic

zazen

I'm trying to install SMF on a site hosted by ecowebhosting.co.uk [nofollow], using their one-click installer. The installer fails with an error message:

https://3dcontentmanagers.com/forum/install.php [nofollow]

I've tried several versions of PHP from 7 to 8.x, same issue with them all.

Their support responds with the following:

"I believe the issue here is that the way the installer is configured, its not able to detect the correct PHP version on our shared platform. Would you be able to contact the support for this service for any ways to bypass the error message ? Our platform is meeting the requirements, its just whatever way they're retrieving the PHP version isn't working."

Link to php.info [nofollow]: https://3dcontentmanagers.com/info.php [nofollow]

Any idea how to fix this?

Thanks!
Richard


shawnb61

SMF uses the php function version_compare(), and the php constant PHP_VERSION:
https://github.com/SimpleMachines/SMF/blob/5da827a6dc2e96a2e3f2221779f351541aba3c20/other/install.php#L506
https://www.php.net/manual/en/function.version-compare.php

I would confirm the host supports both.

Note that there are some challenges with php 8.3 - I wouldn't use that yet for 2.1. 
https://github.com/SimpleMachines/SMF/issues/7793
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Advertisement: