Category : laravel

I’m trying to install an application, but can’t setup .env file to 0777 permission on Windows Server. I already tried update using the Right Click > Security > Everyone > Full Access tool, but didn’t work. How can i setup an .env file as 777 permission on Windows Server? It’s an Laravel application. Thanks in ..

Read more

I’m running Laravel on docker. The web app works fine and other post man requests work fine till I get to this line const OAUTH_TOKEN = ‘/oauth/token’; return $this->post(self::OAUTH_TOKEN, $this->getBody()); Using Postman I get "cURL error 7: Failed to connect to localhost port 8080: Connection refused env APP_URL=http://localhost:8080 UID=1000 docker file version: ‘3.0’ services: nginx: ..

Read more

I have three windows servers, one is a Domain Controller, one hosts laravel via IIS and the other is a windows server with a shared network folder for storage. Everytime I try to access the folder on the shared drive using the following: scandir(‘servernamefoldername’); I get the following error scandir(servernamefoldername,servernamefoldername): Access is denied. (code: 5) ..

Read more

I have the following Nginx virtual host file, located in laragonetcnginxsites-enabled, which is auto generated by Laragon for each new project created in my local host root (laragon/www/), so I can directly visit the project on {project-name}.test: server { listen 80; server_name mysite.test *.mysite.test; root “C:/laragon/www/mysite/”; index index.html index.htm index.php; location / { try_files $uri ..

Read more