Freebsd启动fastcgi报 php child exit with 1错误
启动命令为:
./spawn-fcgi -a 127.0.0.1 -p 9000 -u www -g www -C 3 -f /usr/local/bin/php-cgi于是单独运行/usr/local/bin/php-cgi,发现php-cgi运行有错:bbscdn# /usr/local/bin/php /usr/local/bin/php-cgi
/libexec/ld-elf.so.1: /usr/local/lib/php/20090626/imap.so: Undefined symbol “ssl_onceonlyinit”
经过搜索,找到解决方法:
重装 mail/cclient:
cd /usr/ports/mail/cclient
make config
确认选择了SSL)
make clean all deinstall install
make clean
cd /usr/ports/mail/cclient
make config
确认选择了SSL)
make clean all deinstall install
make clean
安装完成后,启动fastcgi正常
原创文章,转载请注明: 转载自Linux Admin