I want to install php dependencies in a shared-hosting server, but composer says my php version is 5.6.40
(too old for my dependencies), It was true, so I set the php version from cpanel to 7.3.23
with something called "MultiPHP manager". All right, until I retried to run composer install
, composer keep saying that my php version is 5.6.40
.
Then I checked the phpinfo()
in a dummy page and it says my version is 7.3.23
. Also I ran php -v
and the output says my version is 7.3.23
.
I tried
- reload
httpd
- run
composer update
andcomposer self-update
but it saysallow_url_fopen
is disabled, but I enabled it with a cpanel tool called "MultiPHP INI editor", andphpinfo()
says that is enabled.
Someone can tell me if im doing something wrong? or how does composer can't use the updated php?