#running php8.1 composer install in laravel 10 web app

1 messages · Page 1 of 1 (latest)

random spoke
#

my php -v is 8.2.6 and im running /usr/bin/php8.1 /usr/local/bin/composer install
and i receive this error in the browser. In my error.log I can see that it is still using php 7.4 for some reason. is this an apache issue? or composer? im so confused..

hexed monolith
random spoke
#

just noticed that my apache php version is 7.4 i guess other web apps are using it. is it possible for a specific laravel app apache runs at 8.1?