Announcement

Collapse
No announcement yet.

Upgrade fails with PHP 7.3.19

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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:	419
Size:	13.5 KB
ID:	59529

  • #2
    Hi,

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

    php -v

    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.

  • #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...
X