lnmp1.8 php8 addons imagick出错
/root/lnmp1.8/src/imagick-3.4.4/php_imagick_file.h:74:112: 错误:expected ‘;’, ‘,’ or ‘)’ before ‘TSRMLS_DC’zend_bool php_imagick_stream_handler(php_imagick_object *intern, php_stream *stream, ImagickOperationType type TSRMLS_DC);
^~~~~~~~~
/root/lnmp1.8/src/imagick-3.4.4/imagick_file.c:81:51: 错误:expected ‘;’, ‘,’ or ‘)’ before ‘TSRMLS_DC’
zend_bool php_imagick_is_url(const char *filename TSRMLS_DC)
^~~~~~~~~
/root/lnmp1.8/src/imagick-3.4.4/imagick_file.c:91:108: 错误:expected ‘;’, ‘,’ or ‘)’ before ‘TSRMLS_DC’
zend_bool php_imagick_file_init(struct php_imagick_file_t *file, const char *filename, size_t filename_len TSRMLS_DC)
^~~~~~~~~
/root/lnmp1.8/src/imagick-3.4.4/imagick_file.c:160:133: 错误:expected ‘;’, ‘,’ or ‘)’ before ‘TSRMLS_DC’
php_imagick_read_image_using_imagemagick(php_imagick_object *intern, struct php_imagick_file_t *file, ImagickOperationType type TSRMLS_DC) ^~~~~~~~~
/root/lnmp1.8/src/imagick-3.4.4/imagick_file.c:201:133: 错误:expected ‘;’, ‘,’ or ‘)’ before ‘TSRMLS_DC’
php_imagick_read_image_using_php_streams(php_imagick_object *intern, struct php_imagick_file_t *file, ImagickOperationType type TSRMLS_DC) ^~~~~~~~~
/root/lnmp1.8/src/imagick-3.4.4/imagick_file.c:255:54: 错误:expected ‘;’, ‘,’ or ‘)’ before ‘TSRMLS_DC’
int php_imagick_safe_mode_check(const char *filename TSRMLS_DC)
^~~~~~~~~
/root/lnmp1.8/src/imagick-3.4.4/imagick_file.c:269:134: 错误:expected ‘;’, ‘,’ or ‘)’ before ‘TSRMLS_DC’
imagick_rw_result_t php_imagick_read_file(php_imagick_object *intern, struct php_imagick_file_t *file, ImagickOperationType type TSRMLS_DC) ^~~~~~~~~
/root/lnmp1.8/src/imagick-3.4.4/imagick_file.c:288:153: 错误:expected ‘;’, ‘,’ or ‘)’ before ‘TSRMLS_DC’
php_imagick_write_file(php_imagick_object *intern, struct php_imagick_file_t *file, ImagickOperationType type, zend_bool adjoin TSRMLS_DC) ^~~~~~~~~
/root/lnmp1.8/src/imagick-3.4.4/imagick_file.c:313:112: 错误:expected ‘;’, ‘,’ or ‘)’ before ‘TSRMLS_DC’
zend_bool php_imagick_stream_handler(php_imagick_object *intern, php_stream *stream, ImagickOperationType type TSRMLS_DC)
^~~~~~~~~
make: *** 错误 1
imagick install failed!
官方的Addons.sh里面的不能用,自己去github上下载imagick的c代码编译就行了。 php 8目前还未有发布正式的或测试的版本,只有自行git上安装测试,正式发布后会更新 licess 发表于 2021-2-3 09:36
php 8目前还未有发布正式的或测试的版本,只有自行git上安装测试,正式发布后会更新 ...
能用了吗?
我也是这样的错误 licess 发表于 2021-2-3 09:36
php 8目前还未有发布正式的或测试的版本,只有自行git上安装测试,正式发布后会更新 ...
升级到php8 后探针无法显示
PHP信息(phpinfo):
直接可以phpinfo.php看到 moyin 发表于 2021-4-30 06:51
升级到php8 后探针无法显示
PHP信息(phpinfo):
https://soft.vpser.net/prober/p.tar.gz
下载解压替换掉原来的p.php licess 发表于 2021-4-30 10:44
https://soft.vpser.net/prober/p.tar.gz
下载解压替换掉原来的p.php
探针可以了:victory:
imagick扩展 更新了吗
补充内容 (2021-4-30 12:21):
已解决 moyin 发表于 2021-4-30 11:37
探针可以了
imagick扩展 更新了吗
imagick至今未发布对应的php 8.0的支持版本,可以使用github上的源码,但是不属于beta也不属于stable,是否有问题未知
页:
[1]