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

alex32's avatar
Level 2

laravel 11 installation | server not working

I've just installed laravel on a wsl folder with phpMyAdmin (through docker-compose) phpMyAdmin works fine, but Laravel welcome page doesn't load. What happen? Thanks

  • laravel 11.36

sail up is working but the url localhost return page not found.

artisan serve:

 sail artisan serve
PHP Warning:  JIT is incompatible with third party extensions that override zend_execute_ex(). JIT disabled. in Unknown on line 0

INFO  Server running on [http://127.0.0.1:8000].

php version

 php --version
Cannot load Xdebug - it was already loaded
PHP 8.4.1 (cli) (built: Nov 25 2024 18:03:47) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.4.1, Copyright (c) Zend Technologies
    with Xdebug v3.4.0, Copyright (c) 2002-2024, by Derick Rethans
    with Zend OPcache v8.4.1, Copyright (c), by Zend Technologies

http://localhost:5173/ OR http://localhost:8000, OR http://localhost

This site can’t be reached

docker-compose.yml

services:
    laravel.test:
        build:
            context: './vendor/laravel/sail/runtimes/8.4'
            dockerfile: Dockerfile
            args:
                WWWGROUP: '${WWWGROUP}'
        image: 'sail-8.4/app'
        extra_hosts:
            - 'host.docker.internal:host-gateway'
        ports:
            - '${APP_PORT:-80}:80'
            - '${VITE_PORT:-5173}:${VITE_PORT:-5173}'

installation folder in wsl:

\\wsl.localhost\Ubuntu\home\test\leanwalk

Docker Desktop container: running

0 likes
2 replies
alex32's avatar
alex32
OP
Best Answer
Level 2

APP_PORT didn't exist, but I set it to 80. Same result.

Then .. I rebooted my laptop and everything started working as before.. Thanks.

Please or to participate in this conversation.