我按照这些说明在 ubuntu 18.04 上从 (http://www.cognaxon.com/index.php?page=wsqlib_phpnotes#3) 安装 PHP 7 的 WSQ 库下面是错误,它显示未加载库。http://192.168.27.4/temp/[Tue Feb 11 08:40:59.497934 2020] [php7:error] [pid 1173] [client 192.168.27.3:45372] PHP Fatal error: Uncaught Error: Call to undefined function wsq_convert_image() in /var/www/html/temp/wsq_convert_image.php:3\nStack trace:\n#0 {main}\n thrown in /var/www/html/temp/wsq_convert_image.php on line 3, referer: http://192.168.27.4/temp/附加信息a@a:~$ apache2 -v Server version: Apache/2.4.29 (Ubuntu)Server built: 2019-09-16T12:58:48a@a:~$ a@a:~$ php -vPHP 7.2.24-0ubuntu0.18.04.2 (cli) (built: Jan 13 2020 18:39:59) ( NTS )Copyright (c) 1997-2018 The PHP GroupZend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.2.24-0ubuntu0.18.04.2, Copyright (c) 1999-2018, by Zend Technologiesa@a:~$
1 回答
白板的微信
TA贡献1883条经验 获得超3个赞
我修改了php.ini文件并添加了扩展行。
a@a:/var/www/html/temp$ cat /etc/php/7.2/cli/php.ini | grep wsq extension=wsq.so
- 1 回答
- 0 关注
- 81 浏览
添加回答
举报
0/150
提交
取消