Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

sasafister's avatar

Having trouble with dploy

Hi guys,

is anyone using dploy? I have finally setup everything and deploy succesfully, but when i create new commit and push it to server, nothing changes. For example, i have test commit with

Route::get('/', function(){
  return 'Lalal';
});

and when i hit that route, it works like i have nothing changed, also, when i check the route.php on server, it is updated. Any clue what might be wrong here?

0 likes
6 replies
kreitje's avatar

Try restarting the web server or php-fpm to see if it picks up the changes.

quickliketurtle's avatar

So your using dploy.io to deploy changes to a site and the files on the site are not updating? What does the log say?

sasafister's avatar

@quickliketurtle i have figure out that everything is good on server when i deploy app with dploy.io. So if i check files, everything is ok, but it seems like local/production enviroment isn't working as expected. I have two files, app/config/app.php (which is for development purpose i assume), and app/config/local/app.php (which is for local purpose). And even though i put developemnt app.php debug mode to false, it still show errors on page, but it shouldn't. Also, i tried to put same thing for local production and it still show's debug mode. That's bit confusing.

sasafister's avatar

With help from my friend, we figure out where problem was. Index.php file was directed aplication in wrong folder.

Please or to participate in this conversation.