简体   繁体   English

在 cpanel 服务器中运行 php artisan storage:link 时出现符号链接问题

[英]symlink issue when run the php artisan storage:link in cpanel server

when running the PHP artisan storage:link shows this error运行 PHP artisan storage:link 时显示此错误

Call to undefined function Illuminate\Filesystem\symlink() it is working on my local pc when I deployed and run the command then show the error.调用未定义的 function Illuminate\Filesystem\symlink() 当我部署并运行命令然后显示错误时,它正在我的本地电脑上工作。 I have tried to fix this issue not been resolved yet Does anybody help me, please?我已尝试解决此问题但尚未解决有人可以帮助我吗?

here is the image:这是图片:

在此处输入图像描述

Most of the time symlink is disabled due to security issues.大多数情况下,由于安全问题, symlink被禁用。

If it is hosted on your own server, enable the symlink function. If it is hosted on a shared host, please contact your hosting provider to enable it for you.如果它托管在您自己的服务器上,请启用符号链接 function。如果它托管在共享主机上,请联系您的托管服务提供商为您启用它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Laravel 8.60.0 在我运行 `php artisan storage:link` 时创建一个文件而不是文件夹/符号链接 - Laravel 8.60.0 creates a file instead of a folder/symlink when I run `php artisan storage:link` 如何在进行 PHP 工匠存储时更改符号链接文件夹的位置:链接? - How can I change location of symlink folder while doing PHP artisan storage: link? 如何在 cpanel 上运行 artisan 命令 - How to run artisan commands on cpanel 在 Dockerfile “php artisan storage:link” 返回非零代码 - In Dockerfile “php artisan storage:link” returns a non-zero code Php 工匠存储:链接删除存储的文件(DigitalOcean) - Php artisan storage:link delete stored files (DigitalOcean) 为什么符号链接在 Laravel 中的 php artisan serve 中不起作用 - Why symlink not working in php artisan serve in laravel PHP 运行 artisan 命令时已弃用的问题 - PHP Deprecated issue when running artisan command 如何在托管服务器cpanel的hostgator上的cron作业上运行laravel 5.2 artisan命令? - How to run laravel 5.2 artisan command on cron job on hostgator hosting server cpanel? 当不在命令“ php artisan serve”上的服务器上运行时,Laravel“未定义回显” - Laravel “Echo is not defined” when not run on server from command “php artisan serve” 是否可以通过单击链接/按钮来运行 php artisan 命令 - Is it possible to run php artisan command by clicking on a link/button
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM