I keep getting this error ErrorException file_put_contents(C:wamp64wwwcatholic_group_of_schools_entrance_platformstorageframework/sessions/NMNV89ihi6pcYr140olVDp7iPx4ed2ML4Eh8ik7q): Failed to open stream: No such file or directory every time I go to http://localhost on my browser, after running ./vendor/bin/sail up Sourc..
TL;DR: 14 months after I read about WSL2 coming for Windows (and Docker) I tried Symfony 5 and it is still slow as chocolate balls. Back in Q1 2020 I read about Symfony and Docker being very slow in an easy set-up environment. We tried and tried, but to no avail: we couldn’t get Symfony ..
I’m trying to connect my laravel project that is running on wsl2 ubuntu to mysql server (with xampp) running on windows 10. .env file configs DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=test DB_USERNAME=root DB_PASSWORD= when I run a php artisan migrate it gives this error IlluminateDatabaseQueryException : SQLSTATE[HY000]  No such file or directory (SQL: select * from ..
I upgraded to WSL2 from Windows 10. With PHPStorm, in my project that I switched under my WSL, I try to launch PhpUnit. But i have this error : Error in bootstrap script: SymfonyComponentDotenvExceptionPathException: Unable to read the "WSL$UBUNTUhometotosymfonymyProject/.env" environment file. By looking in the parameters at the CLI Interpreter level, I saw that there ..
I’m using OpenVPN to connect in my work database, if I connect in VPN and ping in the IP of the database, it looks like everything is right. But when I try to connect via PHP sqlsrv_connect, doesn’t work (return false). Ping in database IP $serverName = "172.31.12.132"; $connectionOptions = [ "Database" => $databaseName, "Uid" ..
I am using elastic search in my php project and having an issue in Windows 10. max virtual memory areas vm.max_map_count  is too low, increase to at least  I fixed it by using this command but I am running it every times before I run docker-compose up -d. I don’t want to run ..
I create Docker container for MariaDB database and phpMyAdmin. When i run the container use Docker Compose i cannot access the phpMyAdmin web on http://localhost:8080 Here is my docker-compose.yml version: ‘3.8’ services: database: container_name: database image: mariadb:10.5.8-focal restart: always ports: – 3307:3306 environment: MYSQL_ROOT_PASSWORD: secret volumes: – ./data:/var/lib/mysql – ./entrypoint:/docker-entrypoint-initdb.d networks: – db-network phpmyadmin: container_name: ..
I have php installed on Windows 10 through the linux sublayer using Ubuntu 18.04. Then I create a windows symlink for my projects to the /var/www/ folder so that I can access it via localhost/project-folder-name This has always worked fine until I tried to install PageKit to a project folder. Now for some reason I ..
I have WSL running PHP 7.4 on Ubuntu 18.04 and using PhpStorm 2020 on a new Windows 10 build. I cannot seem to get Xdebug to stop at breakpoints or even log errors. From phpinfo() Version 3.0.1 Support Xdebug on Patreon, GitHub, or as a business Feature Enabled/Disabled Docs Development Aids ✔ enabled ? Coverage ..