configure: error: Your t1lib distribution is not installed correctly. Please reinstall it.
[root@test php-5.5.14]#
重新源码安装t1lib和yum安装t1lib都不行
重启服务器也是不行
卸载、rpm上传安装tatex也不行(yum安装了150M的rpm包,嘿嘿)
后来,根据提示安装t1lib :
make without_doc
make install
然后提示,libmcrypt没有安装
安装后php就安装好啦。
ps:文章是按照文档操作的,安装php东西比较多,期间估计漏装一部分东西。
本文是实验环境,自己也模模糊糊,生产环境一定要多做快照,最好按脚本来。手工太容易出错啦。
±-------------------------------------------------------------------+
| License: |
| This software is subject to the PHP License, available in this |
| distribution in the file LICENSE. By continuing this installation |
| process, you are bound by the terms of this license agreement. |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point. |
±-------------------------------------------------------------------+
Thank you for using PHP.
config.status: creating php5.spec
config.status: creating main/build-defs.h
config.status: creating scripts/phpize
config.status: creating scripts/man1/phpize.1
config.status: creating scripts/php-config
config.status: creating scripts/man1/php-config.1
config.status: creating sapi/cli/php.1
config.status: creating sapi/fpm/php-fpm.conf
config.status: creating sapi/fpm/init.d.php-fpm
config.status: creating sapi/fpm/php-fpm.service
config.status: creating sapi/fpm/php-fpm.8
config.status: creating sapi/fpm/status.html
config.status: creating sapi/cgi/php-cgi.1
config.status: creating ext/phar/phar.1
config.status: creating ext/phar/phar.phar.1
config.status: creating main/php_config.h
config.status: executing default commands
[root@test php-5.5.14]#
ps2:后来,我又重新安装一次,确保以上t1,limp都安装。php安装成功界面不太一样。