Configurate PHPStorm with Laragon


  • | 93 points

    Hi, I am trying to run PHPStorm with Laragon on Win10 and I have a problem to set up my Run-configuration.
    Chrome says: Bad gateway when I try to run my index.php.
    Where should I place my project? In PHPStorms default directory or C:\laragon\www
    What do I need to configurate in PHPStorm respectively Laragon to make this work?


  • | 483 points

    I'm not sure what phpStorm has to do with Laragon but I'm using the same setup so here's how I do it:

    I use phpStorm, Laragon, Dropbox and SourceTree with BitBucket. I create a folder in my Dropbox to keep all the project files on the cloud so I can easily switch PCs while working. Then I change the Document Root on Laragon's preferences to that same folder. Go to phpStorm -> Create project from existing files and choose again that directory. Restart Laragon so it creates pretty URLs and you're done.


  • | 93 points

    I changed the root and it works fine! Thanks.


Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.