What php version is your server running?
It automatically reloads the FPM from php7.1, but if you run php7.0 or php5.6 you need to update that part of the deploy script
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello guys, I'm experiencing an issue with Forge.
Basically when I deploy some code, it looks like it doesn't get updated on the server until i reboot my server from Forge.
The server is hosted on DigitalOcean and I've already tried to do:
My Deploy script is:
cd /home/forge/mysite
git pull origin master
composer install --no-interaction --prefer-dist --optimize-autoloader
echo "" | sudo -S service php7.1-fpm reload
if [ -f artisan ]
then
php artisan migrate --force
fi
What else should I have to do/try?
Please or to participate in this conversation.