- 积分
- 78
- 威望
-
- 金钱
-
- 注册时间
- 2015-5-17
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
系统debian10
从php7.4生到php8.0.22,发现exif和fileinfo等扩展没反应
例如打开https://xxxxx.com/exif.php 出现HTTP ERROR 500
尝试办法:卸载exif,重新安装还是这个问题
当我修改php.ini 去掉exif的 ; 后,重启php-fpm就报一下错误
- 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-non-zts-20200930/
- /root/lnmp1.9/src
- Restarting php-fpm......
- Gracefully shutting down php-fpm . done
- Starting php-fpm done
- ====== PHP Exif install completed ======
- PHP Exif installed successfully, enjoy it!
- root@C:~/lnmp1.9# make test
- make: *** No rule to make target 'test'. Stop.
- root@C:~/lnmp1.9# /etc/init.d/php-fpm restart
- Gracefully shutting down php-fpm . done
- Starting php-fpm [01-Sep-2022 21:40:40] NOTICE: PHP message: PHP Warning: Module "exif" is already loaded in Unknown on line 0
- done
复制代码
|
|