Feiyang 发表于 2017-1-19 22:55:02

添加PHP失败

本帖最后由 Feiyang 于 2017-1-19 23:20 编辑

系统:CENTOS7.0面板:2.8.3
错误信息:If configure fails try --with-webp-dir=<DIR>
checking for jpeg_read_header in -ljpeg... yes
checking for png_write_image in -lpng... yes
If configure fails try --with-xpm-dir=<DIR>
configure: error: freetype-config not found.
make: *** No targets specified and no makefile found.Stop.
make: *** No rule to make target `install'.Stop.
Copy new php configure file...
Modify php.ini......
install.sh: line 134: pear: command not found
install.sh: line 135: pecl: command not found
not install composer
Install ZendGuardLoader for PHP 7...
unavailable now.
Write ZendGuardLoader to php.ini...
cp: cannot stat '/www/server/php/71/src/sapi/fpm/init.d.php-fpm': No such file or directory
chmod: cannot access '/etc/init.d/php-fpm-71': No such file or directory
error reading information on service php-fpm-71: No such file or directory
error reading information on service php-fpm-71: No such file or directory
Redirecting to /bin/systemctl startphp-fpm-71.service
Failed to start php-fpm-71.service: Unit not found.
========================================================
ERROR: php-7.1 installation failed.
因为字数限制,完整的LOG我存在https://openload.co/f/0fSNKIgtqzU/INFO.TXT
最后在问个问题:如何更换PHPMYADIN目录?如果只改名,点击蓝框内按钮仍会跳转至老的目录,如何让他直接去新的目录?能不301,302,303最好!

河妖 发表于 2017-1-20 11:02:15

更换节点尝试重新安装
如还是不行

进入ssh 输入
yum-y install freetype-devel
重新安装即可

Feiyang 发表于 2017-1-20 11:13:48

hitrun 发表于 2017-1-20 11:02
更换节点尝试重新安装
如还是不行



好了,谢谢,那么如何让面板蓝框处的那2个按钮改变地址呢?默认的地址强迫症看着心里难受啊

河妖 发表于 2017-1-20 12:00:02

Feiyang 发表于 2017-1-20 11:13
好了,谢谢,那么如何让面板蓝框处的那2个按钮改变地址呢?默认的地址强迫症看着心里难受啊 ...

暂不支持变更phpmyadmind地址
页: [1]
查看完整版本: 添加PHP失败