OK. I resolve part of the issues by creating a new .env file on the remote VPS. Now I have to resolve the routes. I am only getting the home page. All other routes are not found at the moment.
Thank you.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi, I am deploying my app from local environment to a remote VPS. It is being pull in from via git. When I ran several different composer commands , I get the following errors:
command ran: composer install laravel/framework v5.8.9 requires php ^7.1.3 -> your PHP version (7.0.33) does not satisfy that requirement.
composer update: laravel/framework v5.8.9 requires php ^7.1.3 -> your PHP version (7.0.33) does not satisfy that requirement.
composer -v: Composer version 1.5.6 2017-12-18
php -v: PHP 7.2.17 (cli)
Remote OS: OS: CentOS Linux 7.6.1810 (Core)
I also tried removing the platform: php: 7.13 but it did not work. I also tried removing the composer.lock file, also did not work.
Then appeared an error no app key set which it had been prior to deployment.
Any ideas how to resolve this?
Thank you in advance.
Please or to participate in this conversation.