php.ini erased


  • | 248 points

    Hi,
    I'm new to Laragon.. hope I haven't mess with it :)

    I've installed Laragon full 4.0.16 (190914). I noticed that the php.ini that I place in this folder:
    C:\laragon\bin\php\php-7.2.19-Win32-VC15-x64

    sometimes disappears, sometimes it contains only the following lines:

    [mail function]
    sendmail_path="C:/laragon/bin/sendmail/sendmail.exe"

    Am I doing something wrong? I'm trying to modify it because I want to add the xdebug extension, but it keeps erasing it...

    Thanks!


  • administrators
    | 125936 points

    @theduck88 : Are you sure you put xdebug properly to php.ini?
    Btw, you can toggle xdebug in Menu > PHP > Quick Settings


  • | 248 points

    Hi,

    Xdebug is just the last step I'd love to take.. the problem is before.
    Two minutes ago I followed this steps:

    • Copy the default php.ini-development in this root (and rename it to php.ini)
    • Start all on laragon (apache and mysql)
    • Reload button on Laragon -> the file php.ini does not exist anymore

    The same thing happens if I close Laragon or if I stop all the services.


  • administrators
    | 125936 points


  • | 248 points

    i've tried. It works with this php version:

    php-7.4.0-Win32-vc15-x64

    Maybe it's a bug with 7.2.19.. I don't know :)

    Thank you so much!


Log in to reply
 

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