Category : localhost

I have laravel app on localhost server, I want to share it to the local network via wamp server, I looked at posts here and did most of actions like : change httpd-vhosts.conf to : <VirtualHost *:80> ServerName localhost DocumentRoot D:/wamp/www <Directory "D:/wamp/www/"> Options +Indexes +FollowSymLinks +MultiViews AllowOverride All Require all granted Order Deny,Allow Allow ..

Read more

Good morning everybody. I got my project on localhost today in my Xampp, I can see the project and work on it, but the problem is , if i create a new Route, "/test", and i try to acces there, i get: Forbidden You don’t have permission to access this resource. Apache/2.4.47 (Win64) OpenSSL/1.1.1k PHP/7.3.28 ..

Read more

I’m using Linux Mint and I have installed Composer and the Laravel Installer as a global Composer dependency using this command: composer global require "laravel/installer" later I created a project somewhere in home directory and ran php artisan serve, my question is if I want to create a project in /var/www/html directory, should I use ..

Read more

I want to run laravel 8 on docker. Everything works fine but i can’t show the work in Browser. The message is ‘ERR_EMPTY_RESPONSE’. i write php artisan serve Starting Laravel development server: http://127.0.0.1:8000 [Thu Apr 22 08:43:35 2021] PHP 7.4.16 Development Server (http://127.0.0.1:8000) started I try it with ‘localhost’, ‘127.0.0.1’ and Docker ‘IP’ from Server ..

Read more

Laravel Version: 8.35.1 PHP Version: 8.0.0 Description: I’m uploading an image with laravel using this code: $product_image = $request->file(‘product_image’); $product_image_extension = $product_image->extension(); $product_image_name = time() . ‘.’ . $product_image_extension; $product_image->storeAs(‘/media/product_images’, $product_image_name); $model->product_image = $product_image_name; It works fine, the file is uploaded to storage/app/media/product_images/. Then, I run the command php artisan storage: link to create the ..

Read more