WeCenter 迁移到PHP7.0.7 lnmp1.3下出现500
网站程序 WeCenter 3.1.9系统环境操作系统Linux 2.6.32-642.6.2.el6.x86_64PHP 版本7.0.7MySQL 版本5.5.48
已经安装imagick.so
/usr/local/php/lib/php/extensions/no-debug-non-zts-20151012/imagick.so
错误显示
An error occurred (500 Error)We're sorry, but a temporary technical error has occurred which means we cannot display this site right now.
You can try again by clicking the button below, or try again later.
服务器里,网站根目录下php_errors.log显示
PHP Warning:PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20151012/imagick.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20151012/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20151012/imagick.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20151012/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0 https://lnmp.org/faq/addons.html
已经按照上面的文章安装了imagemagick的,/usr/local/php/lib/php/extensions/no-debug-non-zts-20151012/imagick.so也是存在的 这个500错误搞清楚了,不是imagemagick导致的,是PHP7下,不能放不存在的函数到代码里,之前有个统计函数,后来把函数注释了,但是引用函数的代码没有注释,在PHP5下没事,在PHP7下就出问题了。
但是现在还是有一个问题。下面这个错误也很奇怪,就显示了两次而已
服务器里,网站根目录下php_errors.log显示
PHP Warning:PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20151012/imagick.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20151012/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20151012/imagick.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20151012/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0 同个服务器里,其他站点就有PNG GIF 无法自动转换成SVG而出现图标404错误的,呼叫军哥,这个是怎么回事 原帖由 yanqzh 于 2017-6-28 10:15 发表 http://bbs.vpser.net/images/common/back.gif
同个服务器里,其他站点就有PNG GIF 无法自动转换成SVG而出现图标404错误的,呼叫军哥,这个是怎么回事 发现这个网站的PHP_errors.log里全是
PHP Warning:PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20151012/imagick.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20151012/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20151012/memcached.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20151012/memcached.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20151012/imagick.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20151012/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20151012/memcached.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20151012/memcached.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20151012/imagick.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20151012/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20151012/memcached.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20151012/memcached.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20151012/imagick.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20151012/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0 按提示是上面提示的imagick和memcached 扩展都没安装成功
回复 6# 的帖子
安装不成功是否是应该不断提示?从日志里看,只是某段时间提示回复 7# 的帖子
安装失败,安装扩展时就会有提示是否不间断在错误日志中提示,可能在调用或重启时会有
页:
[1]