Hi,
What is the proper way of adding php-fpm to php 5.3.2?
I've tried the following:
svn co http://svn.php.net/repository/php/php-src/branches/PHP_5_3_FPM
php_5_3_fpm
cd php_5_3_fpm
../buildconf
doing ./configure in code from svn is not an option as other code is
not what was released as 5.3.2
copied /sapi/fpm and ./configure ower to php 5.3.2 dir
When compiling it dies with:
/projects/php53/php-5.3.2/ext/standard/crypt.c: In function
âzm_startup_cryptâ: /projects/php53/php-5.3.2/ext/standard/crypt.c:
110: error: âPHP_SHA256_CRYPTâ undeclared (first use in this function)
Ok.. let's copy the m4 file over from 5.3.2.. rebuild the config and
copy it back... rerun configure.
still no joy, now it dies with
/bin/bash /projects/php53/php-5.3.2/libtool --silent --preserve-dup-
deps --mode=compile cc -I/projects/php53/php-5.3.2/sapi/fpm -Isapi/
fpm/ -I/projects/php53/php-5.3.2/sapi/fpm/ -DPHP_ATOM_INC -I/projects/
php53/php-5.3.2/include -I/projects/php53/php-5.3.2/main -I/projects/
php53/php-5.3.2 -I/usr/include/libxml2 -I/projects/php53/php-5.3.2/ext/
date/lib -I/projects/php53/php-5.3.2/ext/ereg/regex -I/usr/include/
freetype2 -I/usr/include/c-client -I/projects/php53/php-5.3.2/ext/
mbstring/oniguruma -I/projects/php53/php-5.3.2/ext/mbstring/libmbfl -I/
projects/php53/php-5.3.2/ext/mbstring/libmbfl/mbfl -I/usr/include/
mysql -I/usr/include/postgresql -I/projects/php53/php-5.3.2/ext/
sqlite3/libsqlite -I/usr/include/tidy -I/projects/php53/php-5.3.2/TSRM
-I/projects/php53/php-5.3.2/Zend -I/usr/include -g -O2 -
fvisibility=hidden -c /projects/php53/php-5.3.2/sapi/fpm/fpm/fpm.c -o
sapi/fpm/fpm/fpm.lo
In file included from /projects/php53/php-5.3.2/sapi/fpm/fpm/fpm.c:12:
/projects/php53/php-5.3.2/sapi/fpm/fpm/fpm_env.h:20: error:
conflicting types for âclearenvâ
/usr/include/stdlib.h:595: note: previous declaration of âclearenvâ
was here
make: *** [sapi/fpm/fpm/fpm.lo] Error 1
This one seems that configure didn't find? HAVE_SETENV in stdlib.h?
I've removed directory and copied files over between builds.
I'm in a bit of a hurry as I have code in a project that crashes 5.3.1
and would really like to see if it also crashes 5.3.2 before trying to
make a small enough test case and reporting a bug.
Regards,
Miha
To unsubscribe from this group, send email to highload-php-en+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.