- A+
所属分类:Error
报错:
0 1 2 3 |
gcc: Internal error: Killed (program cc1) Please submit a full bug report. See <http://bugzilla.redhat.com/bugzilla> for instructions. make: *** [ext/date/lib/parse_date.lo] Error 1 |
解决方法:
0 1 2 3 4 5 6 |
[root@hz tools]# cd libmcrypt-2.5.8/libltdl/ [root@hz libltdl]# pwd /byrd/tools/libmcrypt-2.5.8/libltdl [root@hz libltdl]# ./configure --enable-ltdl-install [root@hz libltdl]# ldconfig [root@hz libltdl]# cd ../../php-5.3.29 [root@hz php-5.3.29]# make && make install |
报错:
0 1 2 3 4 5 |
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking for MySQLi support... yes, shared checking whether to enable embedded MySQLi support... no mysql_config not found configure: error: Please reinstall the mysql distribution |
解决方法:
0 1 2 3 4 5 |
[root@hz mysqli]# pwd /byrd/tools/php-5.3.29/ext/mysqli [root@hz mysqli]# /usr/local/php/bin/phpize [root@hz mysqli]# ./configure --with-php-config=/usr/local/php/bin/php-config --with-mysqli=/usr/local/mysql/bin/mysql_config [root@hz mysqli]# make && make install [root@hz mysqli]# echo extension = \"mysqli.so\" >> /usr/local/php/lib/php.ini |