|
php+mysql+GD
没有问题
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql --with-j
peg-dir=/usr/local --with-zlib-dir=/usr/local --with-freetype-dir=/usr/local --with-png-dir=/usr/local --with-gd=/usr/local/GD --with-libxml-dir=/usr/local --enable-mbstring --enable-xml --enable-sockets --enable-ipv6 --enable-fastcgi --enable-fpm
但是加入fpm后编译出fpm_php.c: In function `zend_ini_alter_master':
/php-5.2.6/sapi/cgi/fpm/fpm_php.c:27: error: `tsrm_ls' undeclared (first use in this function)
/php-5.2.6/sapi/cgi/fpm/fpm_php.c:27: error: (Each undeclared identifier is reported only once
/php-5.2.6/sapi/cgi/fpm/fpm_php.c:27: error: for each function it appears in.)
/php-5.2.6/sapi/cgi/fpm/fpm_php.c:27: warning: dereferencing type-punned pointer will break strict-aliasing rules
/php-5.2.6/sapi/cgi/fpm/fpm_php.c: In function `fpm_php_apply_defines':
/php-5.2.6/sapi/cgi/fpm/fpm_php.c:87: error: too few arguments to function `php_dl'
/php-5.2.6/sapi/cgi/fpm/fpm_php.c:99: error: `tsrm_ls' undeclared (first use in this function)
/php-5.2.6/sapi/cgi/fpm/fpm_php.c:101: warning: passing arg 2 of `fpm_php_disable' from incompatible pointer type
/php-5.2.6/sapi/cgi/fpm/fpm_php.c:108: warning: passing arg 2 of `fpm_php_disable' from incompatible pointer type
/php-5.2.6/sapi/cgi/fpm/fpm_php.c: In function `fpm_php_cleanup':
/php-5.2.6/sapi/cgi/fpm/fpm_php.c:126: error: `tsrm_ls' undeclared (first use in this function)
make: *** [sapi/cgi/fpm/fpm_php.lo] 错误 1
错 |
|