gpt4 book ai didi

php - imagemagick 在/usr/bin 中执行,但新版本在/usr/local/bin - php exec 路径

转载 作者:太空宇宙 更新时间:2023-11-04 11:26:32 25 4
gpt4 key购买 nike

<分区>

我遇到的问题似乎是 imagemagick 是从/usr/bin 执行的,我的服务器上安装了旧版本的 imagemagick,我不知道如何让 php exec() 朝正确的方向看是/usr/local/bin - 这是转换的实际位置,如果我尝试使用 exec/usr/local/bin/convert 的完整路径,那么它不起作用,以 127 退出

我在 cent os 6.3 上使用 php 5.3.3

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com