Category : windows

I’m a laravel beginner and faced to simple problem. I wanna set background-image with MDBootstrap on a register blade then created the blade in laravel /resources/view/auth/register.blade.php ,and corded <div class="bg-image" style=" background-image: url(‘/laravel/public/image/xxx(relative path)’); " > And I downloaded a pic for background from free site, put it in laravel/public/image/xxx(relative path). But somehow picture path ..

Read more

Does +FollowSymLinks work with Windows shortcuts? It seems it is completely ignored by Apache under Windows 10. The importance of this is that, some web frameworks, like Laravel, use this directive to access storage folder (or any other folder outside the public directory) throughout symbolic links. Then, these features are simply ignored in Apache under ..

Read more

I just install my nginx server on my windows laptop. Then I setup the nginx.conf file like this : server { listen 80; server_name laravelninja.local; root C:/blablabla/public; index index.php; location ~ .php$ { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } } running the php-cgi using this syntax php-cgi.exe -b 127.0.0.1:9000 and the ..

Read more

I am using Laravel on windows and XAMPP. everything was working fine but from past few days whenever i edit any file get following error: file_put_contents(C:xampphtdocsadminstorageframeworkviews/93db7b63a9b0327444fc43e6604864a09a2a3939.php): failed to open stream: Permission denied I obliviously googled and tried to clear cache, config cache, view, verified all folders in framework folder. I didn’t find any thing wrong ..

Read more

I followed https://medium.com/@matteovirgilio/laravel-5-how-to-change-the-public-folder-and-secure-private-files-on-shared-hosting-a8e2e5b9b25f to host my PHP web application on Plesk (Windows Shared hosting). I liked this approach because all the documents remain in one single folder and is useful for hosting multiple PHP web applications on Plesk (Windows Shared hosting). As per the above article followed the below steps. Created a new folder (private) ..

Read more

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 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 How to allow windows not to block connection to or from docker to save the token? ..

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