Installing PEAR environment: /www/servers/php/lib/php/
/home/r00t/php-5.2.6/sapi/cli/php: error while loading shared libraries: /usr/local/gd/lib/libgd.so.2: cannot rest
ore segment prot after reloc: Permission denied
make[1]: *** [install-pear-installer] Error 127
make: *** [install-pear] Error 2
Nov 14 16:54:45 localhost setroubleshoot: SELinux is preventing /home/r00t/php-5.2.6/conftest from loading /u
sr/local/gd/lib/libgd.so.2.0.0 which requires text relocation. For complete SELinux messages. run sealert -l7f26cea9-91e8-4b3a-93e0-6298e6c4e265
failed to connect to server
chcon -t textrel_shlib_t /usr/local/gd/lib/libgd.so.2
###
checking for MySQL UNIX socket location... /tmp/mysql.sock
checking for mysql_close in -lmysqlclient_r... no
checking for mysql_error in -lmysqlclient_r... no
configure: error: mysql configure failed. Please check config.log for more information.
没找到解决办法,把PHP换为4的就可以了