We’re rewarding the question askers & reputations are being recalculated! Read more.

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
0answers
14 views

Can't npm run dev command for laravel project

I'm trying to run npm run dev command on ubuntu 16.04, for laravel 5.4 I tried npm rebuild command also but still, when I'm trying npm run dev , I'm gettin this errors: > @ dev /var/www/html/...
1
vote
1answer
36 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 ...
1
vote
0answers
85 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 ...
-1
votes
1answer
39 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. ...
0
votes
0answers
27 views

i have installed lamp in ubuntu 18.04.2 and i set up virtual host

At first the laravel app was running through virtual host but only the index page(home page). when i click to contact , about it gave an error something like (cannot find dev.treknepal.com/about ). so ...
0
votes
0answers
27 views

How can I restrict Laravel users to editing just their own notifications?

I am using Laravel and Ubuntu 16. When a user is logged in to Laravel, I want them to see notifications posted by others but not be able to edit such notifications. Users should only be able to edit ...
0
votes
3answers
1k 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 ...
0
votes
0answers
33 views

Setting up apache2 server for laravel with the documents folder as root

How would I go about doing this? I want to put all my web based projects inside my documents folder. I found this post and followed the top answer. I changed the default root to "/home/akash/Documents"...
0
votes
2answers
666 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 ...
0
votes
1answer
339 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/...
-1
votes
1answer
172 views

Error after install Laravel Dusk

Laravel Dusk show this error in every project:
0
votes
0answers
202 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 "...
0
votes
0answers
364 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 ...
1
vote
1answer
6k 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 ...
0
votes
2answers
2k 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 ...
0
votes
1answer
1k 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 ...
0
votes
1answer
2k 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 ...
0
votes
0answers
469 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(): ...
2
votes
3answers
7k 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 ...
1
vote
0answers
809 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 ...
0
votes
0answers
45 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
1
vote
1answer
7k 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 ...
0
votes
2answers
957 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] ...
1
vote
1answer
13k 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 ...
3
votes
2answers
1k views

Can't permanently export PATH variable with custom path

I've installed composer and the laravel installer which is now located unter ~/.config/composer/vendor/bin. I want to use laravel directly as a command from anywhere, so I tried to add the directory ...
21
votes
9answers
64k views

Install laravel 5 on Ubuntu 16.04

Anyone installed laravel 5 on Ubuntu 16.04? I've just switched to Ubuntu 16.04 and I'm trying to install laravel 5 framework on it using composer. But every time I try to create a project it gives ...
0
votes
1answer
2k views

How Do I run laravel framework from apache 2.4

I've been trying to get laravel welcome sreen for entire day and nothing.. Here's what I do : 1) Install laravel via composer to the /var/www/html/ like this : composer create-project laravel/...
1
vote
2answers
913 views

lamp and laravel installation

I just installed lamp via terminal and gave mysql password, I want to use the laravel framework, how do i install that and use it via lamp and then how do I start the apache server and mysql and get ...
2
votes
2answers
14k views

Laravel and apache2: 403 forbidden

I am trying to deploy my Laravel app in apache2 locally, however when trying to browse to http://myapp.localhost.com/ I am getting the following error: Forbidden You don't have permission to access /...
4
votes
1answer
5k views

Install Laravel framework in ubuntu 14.04

I am using ubuntu 14.04. I have made setup LAMP. I came to know about Laravel framework. So I want to install it in my system. So can someone tell me how to install Laravel on my system? Any help and ...
1
vote
2answers
2k views

How to make use of Homestead/Laravel dev environment on Ubuntu?

Basically, I'm trying to create a vagrant box on Ubuntu for development of Laravel web applications. I've done this on Windows, OS X and now I'm trying to use my Ubuntu laptop for this. I setup ...
6
votes
2answers
21k views

Mcrypt PHP extension required. Laravel, Xampp error

I'm having trouble with Ubuntu 14.04, Xampp and Laravel. I'm getting Mcrypt PHP extension required. Script php artisan clear-compiled handling the post-install-cmd event returned with an error when ...
3
votes
2answers
2k views

Existing laravel 4 project gives 404 in browser

I'm trying to set up a development environment on a virtual machine running Ubuntu 14.04 LTS using Nginx and HHVM. To do this, I followed the tutorial here. This goes well with a new installation of ...
0
votes
4answers
10k views

Laravel loading error in Ubuntu 14.04

When I tried to access my laravel after successfull updation, instead of the default page it shows an error in the webpage. Mcrypt PHP extension required. I have tried some fixes like this, sudo ...
0
votes
1answer
168 views

Laravel loading error in Ubuntu 14.04 [duplicate]

When I tried to access my laravel after successfull installation, instead of the default page it shows an error in the webpage. Mcrypt PHP extension required. I have tried some fixes like this, ...
0
votes
1answer
154 views

Laravel serves a phtml file

I tried running Laravel php framework from my own custom folder (not in '/var/www'). I've set up vhost, and permissions and it seems to work correctly, but Instead of seeing the laravel welcome page, ...
18
votes
2answers
39k views

Can't use PHP extension Mcrypt in Ubuntu 13.10 (Nginx, PHP-FPM) [duplicate]

I installed a fresh Ubuntu 13.10 on my laptop. Like I usually do, I install the packages I need for Web development, which are nginx, php5-fpm, mysql, php5-mysql, php5-mcrypt and a few others. After ...