#php.ini goes weird (Laravel 11 + laragon)

6 messages · Page 1 of 1 (latest)

long tapir
#
  1. I just setup laravel 11 project with php 8.2 this afternoon. Then the project successfully created with activate few extension in php.ini file.
  2. Now, after type: php artisan serve, i got this: Failed to listen on 127.0.0.1:8000 (reason: ?).
  3. From stackoverflow someone said, i should modify php.ini name from php.ini-in-dev to php.ini.
  4. But, i already fix this issue in point 1.
  5. Unexpected happened, i open the php.ini file for now. then found just this text appear and no more : [mail function] sendmail_path="C:/laragon/bin/sendmail/sendmail.exe"

Why this happen?
Where the default script since i just activate a few extension to support laravel 11 project creation in my case.

glad temple
#

why would do run php artisan serve if you are using Laragon ?

#

that will run the internal php dev server. you should start Laragon Apache, not the php dev server.

long tapir
#

I start laragon to turn on local server which is i need mysql db and apache.
In other side, php artisan serve to activate my laravel app.
Now, When am working on php 8.1.10 which is by default from laragon, that working fine. But after update php to 8.2, the php.ini file getting weird as i mention above.

#

I wonder why this happen after update to 8.2, when 8.1 not.

silver falcon
#

how did you perform the upgrade? did you enable the extensions needed?