当前位置:论坛首页 > Linux面板 > 讨论

【已完成】缺少symlink 函数

发表在 Linux面板2023-12-27 20:19 [复制链接] 3 1132

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:8.4
系统版本:linux
问题描述:我买了一个Laravel 框架做的源码,安装的时候提示错误,我查看了错误日志,说是缺少了一个symlink函数,我的是php8.1  我查看了扩展和ini文件都没有找到这个扩展,请问我要怎么才能安装和启用这个扩展?

相关截图(日志、错误):
local.ERROR: Call to undefined function Illuminate\Filesystem\symlink() {"exception":"[object] (Error(code: 0): Call to undefined function Illuminate\\Filesystem\\symlink() at /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:340)
[stacktrace]
#0 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Foundation/Console/StorageLinkCommand.php(60): Illuminate\\Filesystem\\Filesystem->link()
#1 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Foundation\\Console\\StorageLinkCommand->handle()
#2 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Container/Util.php(41): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#3 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure()
#4 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod()
#5 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Container/Container.php(661): Illuminate\\Container\\BoundMethod::call()
#6 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Console/Command.php(183): Illuminate\\Container\\Container->call()
#7 /www/wwwroot/xxxxx.xxx/vendor/symfony/console/Command/Command.php(326): Illuminate\\Console\\Command->execute()
#8 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Console/Command.php(153): Symfony\\Component\\Console\\Command\\Command->run()
#9 /www/wwwroot/xxxxx.xxx/vendor/symfony/console/Application.php(1063): Illuminate\\Console\\Command->run()
#10 /www/wwwroot/xxxxx.xxx/vendor/symfony/console/Application.php(320): Symfony\\Component\\Console\\Application->doRunCommand()
#11 /www/wwwroot/xxxxx.xxx/vendor/symfony/console/Application.php(174): Symfony\\Component\\Console\\Application->doRun()
#12 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Console/Application.php(102): Symfony\\Component\\Console\\Application->run()
#13 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Console/Application.php(194): Illuminate\\Console\\Application->run()
#14 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(336): Illuminate\\Console\\Application->call()
#15 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(338): Illuminate\\Foundation\\Console\\Kernel->call()
#16 /www/wwwroot/xxxxx.xxx/app/Http/Controllers/Admin/InstallController.php(127): Illuminate\\Support\\Facades\\Facade::__callStatic()
#17 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): App\\Http\\Controllers\\Admin\\InstallController->activation()
#18 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(43): Illuminate\\Routing\\Controller->callAction()
#19 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Routing/Route.php(260): Illuminate\\Routing\\ControllerDispatcher->dispatch()
#20 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate\\Routing\\Route->runController()
#21 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Routing/Router.php(798): Illuminate\\Routing\\Route->run()
#22 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}()
#23 /www/wwwroot/xxxxx.xxx/app/Http/Middleware/Install.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#24 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\Install->handle()
#25 /www/wwwroot/xxxxx.xxx/vendor/php-flasher/flasher-laravel/Middleware/FlasherMiddleware.php(34): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#26 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Flasher\\Laravel\\Middleware\\FlasherMiddleware->handle()
#27 /www/wwwroot/xxxxx.xxx/vendor/php-flasher/flasher-laravel/Middleware/SessionMiddleware.php(34): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#28 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Flasher\\Laravel\\Middleware\\SessionMiddleware->handle()
#29 /www/wwwroot/xxxxx.xxx/app/Http/Middleware/ActiveUser.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#30 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\ActiveUser->handle()
#31 /www/wwwroot/xxxxx.xxx/app/Http/Middleware/CheckReferral.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#32 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\CheckReferral->handle()
#33 /www/wwwroot/xxxxx.xxx/app/Http/Middleware/UserActivity.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#34 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\UserActivity->handle()
#35 /www/wwwroot/xxxxx.xxx/app/Http/Middleware/SetLocale.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#36 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\SetLocale->handle()
#37 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#38 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle()
#39 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#40 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle()
#41 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#42 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle()
#43 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#44 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest()
#45 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Session\\Middleware\\StartSession->handle()
#46 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#47 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle()
#48 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#49 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle()
#50 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#51 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Routing/Router.php(799): Illuminate\\Pipeline\\Pipeline->then()
#52 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Routing/Router.php(776): Illuminate\\Routing\\Router->runRouteWithinStack()
#53 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Routing/Router.php(740): Illuminate\\Routing\\Router->runRoute()
#54 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Routing/Router.php(729): Illuminate\\Routing\\Router->dispatchToRoute()
#55 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(190): Illuminate\\Routing\\Router->dispatch()
#56 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}()
#57 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#58 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()
#59 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle()
#60 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#61 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()
#62 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle()
#63 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#64 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle()
#65 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#66 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle()
#67 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#68 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Http\\Middleware\\HandleCors->handle()
#69 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#70 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Http\\Middleware\\TrustProxies->handle()
#71 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#72 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165): Illuminate\\Pipeline\\Pipeline->then()
#73 /www/wwwroot/xxxxx.xxx/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(134): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()
#74 /www/wwwroot/xxxxx.xxx/public/index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle()
#75 {main}
"}





使用道具 举报 只看该作者 回复
发表于 2023-12-28 09:19:13 | 显示全部楼层
在php--禁用函数中,找到该函数并删除
使用道具 举报 回复 支持 反对
发表于 2023-12-28 10:43:21 | 显示全部楼层
阿珂 发表于 2023-12-28 09:19
在php--禁用函数中,找到该函数并删除

请问您说的php禁用函数是在php.ini里面找么
使用道具 举报 回复 支持 反对
发表于 2023-12-28 11:53:33 | 显示全部楼层
可以,把php.ini和php-cli.ini中的都删除,重载一下php
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

立即付费处理

工作时间:09:00至24:00

快速回复 返回顶部 返回列表