Arthur_8288 发表于 2014-08-03 13:39

求助:安装PHP提示错误

代码如下:
root@solaris11:~/下载/php-5.5.15# ./configure --with-apxs2=/usr/apache2/2.2/bin/apxs --with-mysql
checking for grep that handles long lines and -e... /usr/bin/ggrep
checking for egrep... /usr/bin/ggrep -E
checking for a sed that does not truncate output... /usr/bin/gsed
checking build system type... i386-pc-solaris2.11
checking host system type... i386-pc-solaris2.11
checking target system type... i386-pc-solaris2.11
checking for cc... no
checking for gcc... no
configure: error: in `/root/下载/php-5.5.15':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
root@solaris11:~/下载/php-5.5.15#
请各位大虾看看是哪里出了问题。

Arthur_8288 发表于 2014-08-03 15:46

在线等,帮帮我啊

cwnlinux 发表于 2014-08-04 00:01

configure: error: in `/root/下载/php-5.5.15':

你的PHP怎么放在中文目录下了?改成英文的。

configure: error: no acceptable C compiler found in $PATH

你没有装C编译器,装!

See `config.log' for more details

具体报错日志看config.log文件

Arthur_8288 发表于 2014-08-04 09:35

谢谢,我试一下
页: [1]
查看完整版本: 求助:安装PHP提示错误