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
19 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 ...
0
votes
1answer
58 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 ...
0
votes
0answers
76 views

How to fix SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client?

I am new to using Laravel, but I am trying to help someone put the finishing touches to their website. I am using MAMP to host the database that was created by someone else. However, whilst trying to ...
0
votes
0answers
15 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: ...
0
votes
1answer
128 views

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

What I can't understand The process of how I got to the problem and the detaile are explained below, but I genuinely don't understand the part where it says I just moved from ubuntu 18.04 to Ubunu 20....
0
votes
1answer
126 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 ...
0
votes
0answers
71 views

How to setup Laravel in Environment variables

I'm trying to set up environment variables for laravel installer but am unable to do a proper setup. Tried both env variables $HOME/.config/composer/vendor/bin and $HOME/.composer/vendor/bin provided ...
0
votes
0answers
47 views

**Solved** Tell Laravel / Nginx to use proxy

Solved i had to declare in my php code to use proxy Hi i am hosting the website using Nginx, mysql and php7.2 website is using laravel framework. The server has only access to the internet trough ...
0
votes
0answers
102 views

composer install accidental as root

I was logged in on my webserver as root. When i ran composer install, for my laravel project, I got the warning: 'do not run composer as root/super user' It ran anyway it showed the warning after ...
0
votes
1answer
416 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 ...
0
votes
4answers
2k 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 ...
1
vote
1answer
687 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 ...
0
votes
0answers
92 views

Using different table for Authentication on laravel 6

Please, I am trying to create a laravel application, that won't use the default User table for login and registration system, how do i go about it ?
0
votes
0answers
131 views

MySQL problems with PHP7.4 especially woth Laravel6

Doctrine\DBAL\Driver\PDOException : SQLSTATE[HY000] [2006] MySQL server has gone away at ~/PhpstormProjects/PropscoutFinal/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:31 27|...
0
votes
0answers
193 views

Different folders on /usr/lib/php directory

I'm trying to create a Laravel application but when I run php artisan migrate I get the following warning. PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql' (tried: /usr/...
0
votes
0answers
35 views

( Crontab in docker continer ) looks fine but not work

$: crontab -e * * * * * php /var/www/html/artisan schedule:run >> /dev/null 2>&1 $: service cron status [ ok ] cron is running. $: cat /var/log/cron.log Jan 10 06:19:01 8ac386b5cbf9 ...
0
votes
1answer
45 views

Laravel Framework

I am trying to run my Laravel project and they give me this error in the screenshot.enter image description here How can I solve this issue?
1
vote
1answer
753 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 ...
2
votes
1answer
919 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
586 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
56 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
3answers
7k 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
2answers
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 ...
0
votes
1answer
562 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
283 views

Error after install Laravel Dusk

Laravel Dusk show this error in every project:
0
votes
0answers
238 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
559 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 ...
2
votes
1answer
10k 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
3k 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
2k 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 ...
1
vote
1answer
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 ...
0
votes
0answers
522 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(): ...
3
votes
3answers
10k 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
1k 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
81 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
11k 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
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] ...
1
vote
1answer
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 ...
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
66k 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
3k 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
981 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
17k 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
2answers
6k 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
22k 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
170 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
181 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, ...