我从作曲家那里得到这个错误:
Failed loading /usr/lib/php/20151012/ioncube_loader_lin_7.1.so: /usr/lib/php/20151012/ioncube_loader_lin_7.1.so: undefined symbol: zend_interrupt_function
我已经执行了命令composer update
但这个问题仍然存在。我什至不知道它来自哪里或为什么我得到它......我什至没有收到正确的错误消息。如何解决这个问题?
更新:
PHP 版本: 7.0.28-0ubuntu0.16.04.1
作曲家.json:
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"type": "project",
"require": {
"php": ">=7.0.0",
"barryvdh/laravel-cors": "^0.11.0",
"fideloper/proxy": "~3.3",
"laravel/framework": "5.5.*",
"laravel/tinker": "~1.0",
"zanysoft/laravel-zip": "^1.0",
"guzzlehttp/guzzle": "^6.3"
},
"require-dev": {
"filp/whoops": "~2.0",
"fzaninotto/faker": "~1.4",
"mockery/mockery": "~1.0",
"phpunit/phpunit": "~6.0",
"symfony/thanks": "^1.0"
},
"autoload": {
"classmap": [
"database/seeds",
"database/factories"
],
"psr-4": {
"App\": "app/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\": "tests/"
}
},
"extra": {
"laravel": {
"dont-discover": [
]
}
},
"scripts": {
"post-root-package-install": [
"@php -r "file_exists('.env') || copy('.env.example', '.env');""
],
"post-create-project-cmd": [
"@php artisan key:generate"
],
"post-autoload-dump": [
"Illuminate\Foundation\ComposerScripts::postAutoloadDump",
"@php artisan package:discover"
]
},
"config": {
"preferred-install": "dist",
"sort-packages": true,
"optimize-autoloader": true
}
}
亲切问候
Composer Update
不会帮助你安装 ionCube。
ionCube Loader 是一个 PHP 扩展,使 PHP 能够执行使用 ionCube 编码器编码的文件。
以下是在 Ubuntu 16.04 上安装 ionCube 的详细指南。https://www.digitalocean.com/community/tutorials/how-to-install-ioncube-on-ubuntu-16-04