Estoy enfrentando un problema con la versión de PHP en mi cuenta de InfinityFree. Recientemente intenté ejecutar mi aplicación que utiliza Composer para gestionar las dependencias. Sin embargo, al ejecutar el comando “composer install”, obtengo el siguiente error:
Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version “>= 8.1.0”. You are running 7.4.8.
Según el error, mis dependencias de Composer requieren una versión mínima de PHP “>= 8.1.0”, mientras que mi cuenta actualmente está utilizando la versión 7.4.8 de PHP.
Me gustaría solicitar amablemente una actualización de la versión de PHP en mi cuenta para poder utilizar estas dependencias. ¿Es posible realizar esta actualización en mi cuenta de InfinityFree?
Agradezco de antemano cualquier ayuda o información que puedan brindarme para resolver este problema. Si necesitan información adicional, como el nombre de mi cuenta o el dominio de mi sitio web, por favor avísenme.
Hi and welcome to the forum! Please note that this is an English-speaking forum, and so you must speak in English, or at least provide an accurate translation of what you wrote. Since you didn’t do that I’m gonna translate it for you:
In reply to this:
I’m sure to answer: no, you can’t change PHP version on free hosting. There is already a PHP upgrade to PHP 8.1 in the way, but it’ll be rolled out once iFastNet gets missing PHP extensions back to that PHP version. You might be better off downgrading the dependencies’ versions so that they are compatible with PHP 7.4 though, or even better downgrade the version of the software that requires Composer you’re using to a version that is still compatible with PHP 7.4 for now, or if you still need the latest version of the dependencies, either wait for the PHP rollout on all hosting accounts or upgrade to Premium Hosting as there you’ll also have PHP 8, a version selector for PHP, and more features than on free hosting.