cancel
Showing results for 
Search instead for 
Did you mean: 

My web host changed the minimum PHP version and now Magento really is broken.

My web host changed the minimum PHP version and now Magento really is broken.

My web host changed the minimum PHP version from 7.0 to 7.1. It seems Magento 2.2 is struggling to run on PHP 7.1. When I try and load the site, no css or js loads (404 errors).

Files that are not loading are loading from /pub/static/frontend. I check the files and they are there.

 

I have run clean up and refresh but still no luck.

 

php -d memory_limit=1024M bin/magento setup:upgrade
php -d memory_limit=1024M bin/magento setup:di:compile
php -d memory_limit=1024M bin/magento setup:static-content:deploy en_GB
php -d memory_limit=1024M bin/magento setup:static-content:deploy 
php -d memory_limit=1024M bin/magento index:reindex
php -d memory_limit=1024M bin/magento cache:clean

  I guess the issue is with re-write or permissions.

Please help.