Category : linux

I configure apache virtual host linked project in laravel. But I guess autoloader not work. This is my situation. In /etc/apache2/sites-avaible in wrote my file for virtualhost (I tried yet <VirtualHost *:80> and not work). <VirtualHost medfx.lo:80> ServerAdmin [email protected] DocumentRoot /var/www/medfx/public <Directory "/var/www/medfx/public"> Options FollowSymLinks MultiViews ReWriteEngine On </Directory> # Available loglevels: trace8, …, trace1, ..

Read more

This is error.log of my apache This is my laravel index.php I use php 7.4 & Laravel Framework 7.30.3, Thank you. Edited apache2/error.log PHP Notice: Undefined variable: kernel in /var/www/html/index.php on line 54 [Sat Oct 02 05:30:34.198022 2021] [php7:error] [pid 105462] [client 103.133.243.29:63524] PHP Fatal error: Uncaught Error: Call to a member function handle() on ..

Read more

I’m trying to make a virtual host for a Laravel project using Apache2 on Ubuntu. I follow each step to configure it correctly, but when I’m going to visit, it displays the following error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.4.0". I have checked my PHP version ..

Read more

A Laravel application needs read and write access to the directories storage and bootstrap/cache. I know how to set these permissions manually, i.e. chown www-data:www-data -R storage bootstrap/cache but since I am using GitLab’s CI/CD features, I would like this to be done automatically. The issue is that I am using a user deployer for ..

Read more

I have a project on a Cpanel host and when I edit and upload some of my files it will delete all spaces in the file and the program will be got errors. for instance, it converts this code : @section(‘content’) <div class="container-fluid"> <div class="row"> </div> </div> to this code : @section(‘content’)<div class="container-fluid"><div class="row"></div></div> Source: ..

Read more

I have installed composer on WSL. I will show the commands that I have used and the issues that I am now having. composer global require "laravel/installer" –prefer-dist nano ~/.bashrc export PATH=$HOME/.composer/vendor/bin:$PATH source ~/.bashrc I got error: bash: /home/devina/.config/composer/vendor/bin: Is a directory When i cd to /home/devina/.config/composer/vendor/bin i got laravel how can i get laravel ..

Read more

I was trying deploy laravel with nginx on Ubuntu 20.04. I’ve modified the /etc/nginx/sites-available/default and when I tried to restart the nginx service i encountered this problem. $ sudo systemctl restart nginx Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details. $ journalctl ..

Read more

i use lampp to run mysql , when i start building laravel project, i have set db_socket in .env file set to my mysql.sock location. but laravel can’t find my drive location someone help me? IlluminateDatabaseQueryException could not find driver (SQL: select * from `users`) this my env file : DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=sip_masyarakat DB_USERNAME=root ..

Read more

I need to run "PHP artisan queue:work", I ec2 ubuntu using supervisor I install supervisor using "sudo apt install supervisor" and create a new configuration file using "sudo vim /etc/supervisor/conf.d/queue-worker.conf" and insert this [program:queue-worker] process_name=%(program_name)s_%(process_num)02d command=php /var/www/html/artisan queue:work autostart=true autorestart=true user=root numprocs=3 redirect_stderr=true stdout_logfile=/var/www/html/queue-worker.log when run "sudo supervisorctl reread" all services for the server stop ..

Read more

i have a problem in installing laraval on openSUSE. I have done it like in this documentation: https://en.opensuse.org/Laravel But when I run the command: laravel new myproject I got these error messages: Terminal Error Messages I’m quite new into linux and laravel (some experiences), but i dont know what to do now. The error message ..

Read more

I Am Trying To Install Laravel Into My Kali Linux From This Documentation https://www.linuxhelp.com/how-to-install-laravel-in-debian, But At End When I Am Executing php artisan key:generate This Command It Through An Error What Should I Do Now?? Did Anyone Have Any Other Option That How I Can Install It In My Kali linux. Sourc..

Read more