PHP / Composer failing

  • | 247 points


    I'm having some issues with php seemingly crashing out but I'm not sure of the cause of the problem. This happens when attempting to install Laravel for example:

    Attempts to run php or composer in cmder fail. I can swap php versions over and it resumes working, however inevitably the other version will also crash. Shutting down laragon and restarting doesn't seem to work. Any websites using php, however, are still fully functional.

    The only way I can get the commands working again is to delete all files and reinstall laragon.

    Swapping php versions will also provide a ton of errors, eg.
    "[06-Feb-2018 15:58:09 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'C:/laragon/bin/php/php-7.2.2-Win32-VC15-x64/ext\xsl' - The specified module could not be found." for every module to be loaded."

    I'm not too savy regarding the paths, but here it is copy pasted from the laragon app:

    Any thoughts?


  • administrators
    | 131258 points

    @thevulkan : From your second image, I see there is a problem in your PATH.
    Please check and fix it.


  • | 2501 points

    than ; come by default on laragon.

  • administrators
    | 131258 points

    @kaxias : You're right :)

Log in to reply

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