Closed larrygyamfi closed 2 months ago
Check that your command line version of PHP is 8.1.x as well. php -v
Thank you, i ran php -v and got PHP 8.0.27. How would i go about updating the command line?
I don't really use Windows, but this tutorial seems like it's pretty up to date. https://www.tutorials24x7.com/php/how-to-install-php-8-on-windows
Tutorials24x7Unlock the full potential of PHP 8 on your Windows system with our comprehensive guide. Master the installation process and start coding efficiently today.
That did it. Thank you!
Debug mode
Describe the bug
When trying to update SnipeIT to the latest version using php upgrade.php script, the process fails at step 2 with the message of an incompatible version of PHP. The version displayed in the error message does not match with the version that is installed on the machine and the version that is displayed on our SnipeIT instance.
Reproduction steps
Expected behavior
I expected the upgrade process to continue uninterrupted like our previous upgrades.
Screenshots
Error:
IIS:
SnipeIT:
Snipe-IT Version
6.3.0
Operating System
Windows Server 2019
Web Server
IIS
PHP Version
8.1.27
Operating System
No response
Browser
No response
Version
No response
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
Additional context
Upgrade