Skip to content
Advertisement

Tag: laravel

How can i link the mounted folder to Laravel project?

I have a Laravel project, which placed here: We attached a new storage to vds and mounted it for folder. After that we need add symbolic link from /home/user/www/storage to /home/user/www/example.com/storage , but we can not do it, because the last one is already exists and contains needed files. How can we link it for more space to storage folder

Class ‘IlluminateSupportfacadesHttp’ not found

My Laravel app was running successfully locally on my PC using WAMP server When I deployed my app on a RedHat server, I faced the below error when I make an HTTP request: The only difference is the PHP version composer.json And please note that locally, i upgraded my laravel version from laravel 5 to laravel 7 from the beginning.

Laravel images not shown in any browser while firefox throwing “Image x cannot be displayed because it contains errors” error

My laravel app’s images are not being shown in Firefox Chrome or Edge Firefox shows a more explicit error saying “The image [image] cannot be displayed because it contains errors” ie: the following image is not being shown: http://test-gestion.pedifacil.com/storage/app/public/1/logo_196_196.png but a txt in the same folder is being shown so it does not seem to be problem of wrong symlink

cron command not found – CentOS 7 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question

How to install composer on Linux to be able to run the Laravel New command

I would like to know how to install composer with the vendor/bin folder to be able to run the laravel new project as describe in the laravel docs and not only install the composer binary for install and update packages. Answer I think you are looking for this command : install composer in /usr/bin php -r “copy(‘https://getcomposer.org/installer’, ‘composer-setup.php’);” php composer-setup.php

Login as root using Laravel Forge

I have executed a recipe on a server at Laravel Forge. The recipe is for some reason run as root. When connecting to the server through ssh, I use user forge. But since the recipe was run as root, I cannot access some processes. My first thought was to log in as root, but I think Forge has disabled that.

Queued Jobs are still processed even without Supervisor running

This seems weird. I killed all existing processes related to supervisord on my linux server (aws ec2) but the queued jobs are still being processed/worked on. I checked the processes through ps -fe and I don’t find any process of supervisord running. Anyone who can tell me what’s going on? Thanks in advance. Answer So to summarize this question up,

Advertisement