-
Hello, when installing Spatie v4 in Laravel 8 the following appears: I think it is a versioning problem. from within my application the sentence (PHP v {{PHP_VERSION}} gives me the result v7.1.3 any idea what happens and how to fix it? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Seems like your PHP-FPM version isn't the same as your CLI one. I have no idea about AWS and how/where to configure it. But CLI is a whole different binary than the PHP-FPM one. And one thing: please use markdown code-blocks instead of screenshots if you want to show code. Images aren't accessible and I can't copy anything to try something for example. |
Beta Was this translation helpful? Give feedback.
-
I just solved it by matching the Ubuntu and Apache PHP versions. $ sudo a2dismod php7.1 However I was only able to install version 3.17.0 of ActivityLog. |
Beta Was this translation helpful? Give feedback.
I just solved it by matching the Ubuntu and Apache PHP versions.
$ sudo a2dismod php7.1
$ sudo a2enmod php8.0
$ sudo service apache2 restart
However I was only able to install version 3.17.0 of ActivityLog.
Thank you