我正在尝试在SunOS上更新PHP 5.3.6到5.6.13。 我下载了php-5.6.13.tar.gz,解压缩,运行
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --enable-opcache=no
然后我试图运行
make
但是经过几次警告之后
"/tmp/php-5.6.13/ext/pcre/pcrelib/sljit/sljitNativeSPARC_common.c", line 1399: warning: integer overflow detected: op "<<"
"/tmp/php-5.6.13/ext/pcre/pcrelib/pcre_jit_compile.c", line 1523: warning: no explicit type given
"/tmp/php-5.6.13/ext/pcre/pcrelib/pcre_jit_compile.c", line 1523: syntax error before or at: int
安装停止并出现以下错误:
"/tmp/php-5.6.13/ext/pcre/pcrelib/pcre_jit_compile.c", line 9622: syntax error before or at: void
cc: acomp failed for /tmp/php-5.6.13/ext/pcre/pcrelib/pcre_jit_compile.c
*** Error code 1
与gmake相同:
"/tmp/php-5.6.13/ext/pcre/pcrelib/pcre_jit_compile.c", line 9622: syntax error before or at: void
cc: acomp failed for /tmp/php-5.6.13/ext/pcre/pcrelib/pcre_jit_compile.c
gmake: *** [ext/pcre/pcrelib/pcre_jit_compile.lo] Error 1
我不是unix管理员,我只需更新PHP即可运行最新的MySQL。
我做错了什么?
我正在执行此程序:http://www.onlamp.com/pub/a/php/2000/11/17/php_admin.html?page=2