This has been fixed at the repo level and should never be repeated if you run git pull inside your estate an improved cloned folder (but outside the VM, not SSH-ed). If your computer is already running, you may need to apply the following steps. But new cars (like the new Homestead Improved clones) will no longer have this). An explanation of what happened is here .
@ daniel-sixl, please try re-loading / re-cloning and starting from scratch, everything should work fine now.
Old solution:
Try changing php7.0-fpm to php7.1-fpm - the window was automatically updated to the new version.
You can do this by going to /etc/nginx/sites-available and changing the required file - its name will correspond to the site that you defined, in accordance with the message you specified. Probably /etc/nginx/sites-available/homestead.app .
-
Edit: Added more detailed instructions for people very new to everything.
Okay, so what you need to do when you are in the folder accessible for sites is to edit the homestead.app file. Something like sudo vim homestead.app will be fine, it will open a basic text editor (which is pretty a nightmare to use when you are new to it, so be patient :)) Sudo is important because you are editing a file that only access to the administrator.
Once you're at, do the following:
- press
/ (this activates the "search") and enter php7.0-fpm . This will lead you to a line containing this phrase. If you press / again and press Enter, it will look like "find the next", so it will go to the next line with the phrase or restart at the top if no other lines contain it. - when the cursor is on the line using
php7.0-fpm (you can move it with arrows, of course), press i . This activated insert mode. Now you can edit the file. - change the value 7.0 to 7.1.
- press ESC to exit edit mode and return to read-only mode.
- repeat for each row with 7.0
- after execution, in read-only mode (ESC to make sure) enter
:x . Yes, like a smiley with cross-shaped lips. Press Enter. This is short for Save and Quit. - You will again be in the folder where you should run
sudo service nginx restart .
The new configuration should now take effect, and everything should start working.
source share