lnmp1.5 apache2.4 定时任务不能执行 手动执行也不行 请问这个应该怎么调试一下
我换成了opcache php -v不报错了 但是定时任务还是不能执行 手动执行也不可以 会卡在这里# php -v
PHP 5.6.36 (cli) (built: Aug2 2018 15:18:44)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
# sh queue.sh
# /usr/local/php/bin/php /home/wwwroot/www.test.com/script/queue/queuescript.php normal
麻烦帮忙看一下 不胜感激 没有具体错误信息的话我们也无法确定什么原因
回复 2# 的帖子
军哥 lnmp1.5安装imageMagick报错 请问这个应该怎么调试一下----------------------------------------------------------------------
Libraries have been installed in:
/lnmp1.5/src/imagick-3.4.3/modules
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Build complete.
Don't forget to run 'make test'.
Installing shared extensions: /usr/local/php/lib/php/extensions/no-debug-zts-20131226/
Installing header files: /usr/local/php/include/php/
imagick install failed!
You have new mail in /var/spool/mail/root
#
回复 2# 的帖子
安装之后php -v也报错# php -v
PHP Warning:PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-zts-20131226/php_imagick.dll' - /usr/local/php/lib/php/extensions/no-debug-zts-20131226/php_imagick.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP 5.6.36 (cli) (built: Aug2 2018 15:18:44)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
# linux上没有dll,可以自行vpser.net上搜索php模块安装 查看说明
你提供的安装过程日志信息不是很完整,不好确认,建议提供一下完整的安装过程的日志信息
并ls /usr/local/php/lib/php/extensions/no-debug-zts-20131226/ 看一下是否有imagick.so
回复 5# 的帖子
安装imagick模块的时候报了这个 自行百度没什么结果# /usr/local/php/bin/phpize
Cannot find config.m4.
Make sure that you run '/usr/local/php/bin/phpize' in the top level source directory of the module
#
以下是ls /usr/local/php/lib/php/extensions/no-debug-zts-20131226/之后的信息
# ls /usr/local/php/lib/php/extensions/no-debug-zts-20131226/
imagick.soopcache.so#
回复 6# 的帖子
不是在imagick源码目录的话是报这个错误有imagick.so 的话就是安装成功了,存在 /usr/local/php/conf.d/008-imagick.ini 且里面有extension = "imagick.so" 的话就没问题
回复 7# 的帖子
是在imagick源码目录安装的 还是报这个错误/usr/local/php/conf.d/008-imagick.ini 也不存在conf.d文件夹下是这样的
# cd /usr/local/php/conf.d/
# ll
total 4
-rw-r--r-- 1 root root 215 Aug2 17:42 004-opcache.ini
#
回复 8# 的帖子
按7楼创建文件,并加上说的内容回复 9# 的帖子
弄好了 谢谢军哥 感谢
页:
[1]