Questions tagged [laravel]

Laravel is an open-source, model–view–controller framework for PHP web development. Some of the features of Laravel are a modular packaging system with a dedicated dependency manager, different ways for accessing relational databases, utilities that aid in application deployment and maintenance, and its orientation toward syntactic sugar.

Filter by
Sorted by
Tagged with
0 votes
0 answers
24 views

Issues when installing Laravel using composer

Using Ubuntu 20.04 and PHP 8 When executing composer install for Laravel Do not run Composer as root/super user! See https://getcomposer.org/root for details Continue as root/super user [yes]? ...
user avatar
0 votes
0 answers
24 views

Problems trying to deploy Laravel 9 app on Ubuntu Server 20.04

Im facing problems while try to deploy my Laravel App (v9) on my Ubuntu Server. First of all, Im going to share my Apache Configuration because I think my problem is related with it more than Laravel. ...
user avatar
0 votes
0 answers
31 views

problem with composer install and php version when deploying web app

I need to deploy a web application written with Laravel and vue.js. The server is on AWS with ubuntu 18.04. Initially the development was done on a windows machine with Xampp v7.4.10, Control Panel v3....
user avatar
2 votes
0 answers
100 views

Can't run Laravel apt on Ubuntu 22.04 because it uses OpenSSL 3

When I visit my Laravel site, I get the error: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:0A000126:SSL routines::unexpected eof while reading I've searched ...
user avatar
1 vote
1 answer
536 views

Public folder is forbidden in nginx

I successfully deploy my Laravel app to in Digital Ocean. But my CSS & JS file are 403 (Forbidden). In my console I see the error: net::ERR_ABORTED 403 (Forbidden) How can I give my application ...
user avatar
0 votes
0 answers
54 views

Python Library (rembg) NOT working with www-data user

I'm using rembg library in Python and using it with my Larvel project, I've tried multiple ways to execute Python file from my PHP application, like symfony/process, shell_exec, artisan But this file ...
user avatar
2 votes
1 answer
2k views

PHP Warning: Cannot load module "http" because required module "raphf" is not loaded in Unknown on line 0

When entering artisan commands in laravel- ubuntu 20.04 it shows following error PHP Warning: Cannot load module "http" because required module "raphf" is not loaded in Unknown on ...
user avatar
0 votes
1 answer
169 views

chromium cannot run with www-data user

I'm using chromium on this php package https://github.com/symfony/panther Install: apt-get install chromium-chromedriver Function has been called: $this->client = Client::createChromeClient('/usr/...
user avatar
  • 101
0 votes
1 answer
275 views

Apache Default page instead of Laravel Application

I am sure this is the kind of question that is annoying, but I am brand new to ubuntu and I am totally lost, hence I don't know what to google for. I have to deploy a laravel application on a Ubuntu ...
user avatar
  • 103
0 votes
1 answer
794 views

"Composer update failed: "/usr/local/bin/composer" could not be written." after installing Composer using the terminal

I'm on ubuntu 20.04 LTS and I have installed Composer directly using the terminal, but I'm getting this error: [Composer\Downloader\FilesystemException] ...
user avatar
  • 1
0 votes
0 answers
88 views

mysql server install on WSL2 Ubuntu machine error

I have a fresh install of a WSL2 Ubuntu from windows store, I'm creating a Laravel site with docker and I need to install mysql-server. I keep running into this issue when installing - Building ...
user avatar
0 votes
0 answers
265 views

Having trouble building new laravel project with sail and docker

I'm creating a new laravel project using docker and sail, i'm on Windows 10, I have enabled WSL 2 and all that was required in the docs, but after I create the laravel project in the ubuntu shell (...
user avatar
0 votes
0 answers
97 views

Laravel dependencies does not update in XAMPP

The case: I want to install Laravel on my computer (info: Linux 5.11.0-27-generic #29~20.04.1-Ubuntu SMP Wed Aug 11 15:58:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux) When I ran composer create-project ...
user avatar
0 votes
0 answers
51 views

An error with sudo command

I used 'chmod -7 RRR'(without quotes) from one of my project directories without any options(eg. folder name - I usually use 'chmod -R 777 storage/logs' - for getting logs written into the logs file ...
user avatar
  • 1
0 votes
0 answers
83 views

Update composer in vscode

I tried to update composer in vscode using the following commands : cd ~/.vscode/extensions/felixfbecker.php-intellisense-2.3.14/ composer update But i get this errors : Deprecation Notice: Method ...
user avatar
1 vote
0 answers
1k views

Can't run Laravel sail through docker "ERROR: Service 'laravel.test' failed to build : Build failed"

I am trying to install laravel sail through docker on Windows 10. I made a video showing my problem. nischintpal@mangalyaan:~/test$ ./vendor/bin/sail up Building laravel.test [+] Building 258.4s (9/17)...
user avatar
0 votes
1 answer
701 views

Ubuntu 18.04: XAMPP 8.0.3 + Laravel 8.* + PHP 8.*: Deprecation Notice + Unknown package has no name defined

While trying to install Laravel 8, I got the following warning messages: I have installed XAMPP for Linux 8.0.3 and have PHP Version 8.0.3 installed within the XAMPP package. I am suspecting that ...
user avatar
  • 131
1 vote
1 answer
1k views

Filezilla cannot upload file on ftp on Ubuntu: 533 transfer failed

I have Laravel project on Ubuntu. Project is placed in /var/www/html/myproj. I have my local project on Windows and after some changes I want to upload MyController.php on Ubuntu. From Filezilla I get ...
user avatar
  • 113
0 votes
1 answer
463 views

Somebody trying to access my index.php file on ubuntu apache2 server (Laravel)

One of my project someone trying to access my index.php file in laravel. Logs:- { "ip":"45.155.205.108","url":"/index.php?s=/Index/\\think\\app/invokefunction&...
user avatar
0 votes
0 answers
163 views

digitalocean install apache, but it says ~Package 'apache2' has no installation candidate~ [duplicate]

sudo apt install apache2 Reading package lists... Done Building dependency tree Reading state information... Done Package apache2 is not available but is referred to by another package. This ...
user avatar
0 votes
0 answers
395 views

Every new day I have this error : failed to open stream: Permission denied

I have this error The stream or file "/data/www/site.com/storage/logs/laravel-2021-01-14.log" could not be opened in append mode: failed to open stream: Permission denied -rw-r--r-- 1 root ...
user avatar
0 votes
1 answer
112 views

How to make laravel run automatically each time I open a new terminal?

I came from windows to Ubuntu and tried to install laravel following link https://laravel.com/docs/5.0 I ended with the installer 1.4.... I don't recall which one so I decided to use composer global ...
user avatar
2 votes
2 answers
7k views

How to update composer 1.6.3 to latest version 2.0.4?

I have tried to update my existing composer version in ubuntu. and I try to check the version but ubuntu say package not found. Then I again try sudo apt install composer to install composer. Now when ...
user avatar
  • 123
1 vote
0 answers
360 views

After install of Laravel in Ubuntu on enter command php artisan ser failed to open stream:

php artisan ser PHP Warning: require(/home/ritesh/Desktop/blog/vendor/autoload.php): failed to open stream: No such file or directory in /home/ritesh/Desktop/blog/artisan on line 18 PHP Fatal error: ...
user avatar
2 votes
1 answer
2k views

How to solve unmet dependency because of broken package? [duplicate]

(I just moved from ubuntu 18.04 to Ubuntu 20.04.) What I can't understand The process of how I got to the problem and the detailes are explained below, but I genuinely don't understand the part where ...
user avatar
  • 191
0 votes
1 answer
929 views

How to create a laravel project in htdocs folder

I am a web developer...I have created projects in windows OS.Now I have completely switched to ubuntu 20.04...I have installed php and composer...But when I want to create a laravel project in htdocs ...
user avatar
0 votes
1 answer
2k views

Laravel .htaccess problem

Trying to configure my website on the hosting according to SEO requirements (www exclusion and https) getting cycling redirect as a result. Can't figure out what's wrong. Hosting has Ubuntu 16.04.5 ...
user avatar
0 votes
4 answers
6k views

How to can I restart apache server in linux? [duplicate]

I got error in my laravel project 413 (Payload too large) on ajax post. Now I edited the post_max_size & upload_max_filesize on php.ini file in my /etc/php/7.1/cli/php.ini. Now I want to ...
user avatar
  • 3
1 vote
1 answer
2k views

Ubuntu Laravel storage/logs/cron.log permission denied

I have Ubuntu 18.04, Laravel and PHP7.4. When I do for example command ls I have the list of folders and: user1@bpl:/var/www/html/storage$ ls app framework logs You have new mail in /var/mail/user1 ...
user avatar
  • 125
0 votes
2 answers
144 views

Laravel Framework

I am trying to run my Laravel project and they give me the error shown in the screenshot: How can I solve this issue?
user avatar
1 vote
1 answer
2k views

403 Error trying to access local app

I'm an IIS boy trying to delve into linux developing for the first time, so please, be gentle. Ok, so... I'm trying to configure my workstation for developing on laravel. I'm on Ubuntu 18.04, and ...
user avatar
  • 113
2 votes
1 answer
1k views

PHP serve command error in Laravel project

I just installed Laravel with all the requirements (php, composer, nodejs) and created a new project called blogg. When I run php artisan serve it returns an error saying that autoload.php does not ...
user avatar
  • 21
-1 votes
1 answer
2k views

When i do composer update some extension errors are showing

Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Your requirements could not be resolved to an installable set of packages. ...
user avatar
0 votes
4 answers
13k views

Why laravel api.php routes give a 404 error?

I'm using laravel 5.8.24 in Ubuntu 18.04 And This is the first time I'm writing an API. I'll add a test code here. routes/api.php Route::get('/api',function(){ return "Test api"; }); When I go ...
user avatar
0 votes
2 answers
2k views

InvalidArgumentException : Cannot write to directory | running Laravel

this may be an easy error but I've been stuck in this one for 3 days now. I'm not a very experienced coder. It's my first time using Laravel too. I bought this script with a guide (at least something ...
user avatar
  • 1
0 votes
1 answer
807 views

Permission Denied on laravel/homestead when writing file in after.sh

I have added the following lines to my laravel/homestead after.sh in an attempt to install and enabling ioncube when provisioning the box. wget http://downloads3.ioncube.com/loader_downloads/...
user avatar
-1 votes
1 answer
418 views

Error after install Laravel Dusk

Laravel Dusk show this error in every project:
user avatar
0 votes
0 answers
255 views

Terminal won't recognize recently installed CLIs

I'm using Ubuntu 16.04 and I'm trying to install vue-cli by running: npm install -g vue-cli This is the output: npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "...
user avatar
0 votes
0 answers
678 views

Laravel store files with different permission

I'm trying to do resize my images with Invention image package. This package first retrieves the image and change it with old one after resizing it. But it can't change old image because laravel ...
user avatar
3 votes
1 answer
11k views

Php artisan migrate unable to access mysql database [duplicate]

This is similar to this question but my situation is a little different. I have laravel, composer, and valet running on Ubuntu 18.04. I'm trying to run php artisan migrate and it throws errors ...
user avatar
  • 43
0 votes
2 answers
4k views

Bus Error Core Dumped given in terminal

i tried running the composer -v command and got the error - "Bus Error(core dumped)" in the terminal. Please is there any suggestion. Saw a place that said to run sudo apt update, tried that but it ...
user avatar
  • 1
0 votes
1 answer
3k views

Laravel on ubuntu

I have successfully created a laravel 5 project. I created a route to test.test/me. If i visit test.test in my browser, it will display the laravel homepage. But if i visit test.test/me browser will ...
user avatar
1 vote
1 answer
3k views

PHP LARAVEL ERROR: no pages are found except index page in Laravel deployed on LAMP Stack on Ubuntu 16 OS

Running Ubuntu 16 server image on Google Compute Engine. My very first time to touch Ubuntu. I have installed Laravel via composer and done everything properly, but my webiste is only opening the home ...
user avatar
0 votes
0 answers
553 views

How to Install Composer and Laravel on ubuntu 16.04

Warning: require(/opt/lampp/htdocs/blog/public/../vendor/autoload.php): failed to open stream: No such file or directory in /opt/lampp/htdocs/blog/public/index.php on line 24 Fatal error: require(): ...
user avatar
3 votes
3 answers
12k views

Unable to install php7.1-bcmath on ubuntu 17.10

I'm trying to install a Laravel package name bitwasp but this package depends on bcmath. Whenever I tried to install it gave me an error. Also I tried to install it using this command: sudo apt-get ...
user avatar
1 vote
0 answers
2k views

nginx (2: no such file or directory) - laravel on ubuntu server

I just installed and pushed the code server. when I try to access the other pages I'm getting nginx error like as below *1 open() "/var/www/html/domain/public/admin" failed (2: No such file or ...
user avatar
  • 141
0 votes
0 answers
182 views

PC is freezing after starting laravel project

My pc is freezing When I started a laravel project. I'm opening my browser (firefox), opening my local web site, then pc starts freezing.. How can I fix that ? Ubuntu version: 17.10
user avatar
1 vote
1 answer
13k views

SQLSTATE[HY000] [1045] Access denied for user

I have started my first website (in development) with a simple authentication structure. When I run my website with Homestead, database connection does not work. Actually I can run any mysql command ...
user avatar
0 votes
2 answers
1k views

Mysql error when running Laravel php migrations

I have upload my laravel project to Ubuntu 14 i have install MySQL to the server put a try to run migrations using php artisan migrate i keep getting this error [PDOException] SQLSTATE[HY000] [1045] ...
user avatar
1 vote
1 answer
14k views

How to Install Laravel 5.3 in Ubuntu 14.04 Server

As what I have stated from the title, I need to install the newest laravel 5.3 in 14.04 server, the composer cannot run because it need PHP 5.6 but in my own server they have 5.5. Either, I have to ...
user avatar