Upgrade fails with PHP 7.3.19

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • murugappan
    Active Community Member
    • Aug 2017
    • 467

    Upgrade fails with PHP 7.3.19

    Hi,

    We setup a server with PHP 7.3.19 and MySQL 5.7 as required by ESPOCRM 5.8. Our current version is 5.7.11. When perform a command line upgrade we are getting an error that i am unable resolve. Please see the screen cap attached.

    Click image for larger version

Name:	crmscap1.png
Views:	428
Size:	13.5 KB
ID:	59529
  • yuri
    Member
    • Mar 2014
    • 8442

    #2
    Hi,

    It seems that your php for CLI is of old version. You can check it with:

    php -v
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment


    • esforim
      esforim commented
      Editing a comment
      How do you even figure that out from that error.

    • yuri
      yuri commented
      Editing a comment
      PHP didn't support string for type hinting in older versions.
  • Maximus
    Senior Member
    • Nov 2018
    • 2731

    #3
    Hi esforim,

    It is one of the most common issues. When you are using EspoCRM via browser, you interact with webserver side PHP. No doubts that in this case the webserver has PHP 7.3.19.
    But when you fire some command via CLI it interacts with CLI PHP. So very often the PHP CLI version is lower and not correspond to the EspoCRM requirements.

    Comment


    • murugappan
      murugappan commented
      Editing a comment
      Thank you for the assistance. We resolved it. The hosting provider switched the version as you advised.
Working...