|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-09-17 11:01 UTC] jani@php.net
[2009-09-17 11:04 UTC] jani@php.net
[2009-09-17 11:05 UTC] jani@php.net
[2009-09-17 11:11 UTC] bjori@php.net
[2009-09-17 11:19 UTC] mamfelt at gmail dot com
[2009-09-17 11:36 UTC] svn@php.net
[2009-09-17 11:41 UTC] bjori@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 15:00:01 2025 UTC |
Description: ------------ after getting the flags right for a straight forward configure and make, make install-pear fails. code snippet: no fix! line 64 through 66: $ctx = stream_context_create($copt, array("notification" => "stream_notification_callback")); $fp = fopen($argv[1], "r", false, $ctx); AIX 6.1.3, xlC compiler (v7) Reproduce code: --------------- export LIBPATH=/usr/lib:/usr/local/ssl/lib:/usr/local/lib:/usr/vac/lib:/usr/vacpp/lib ./configure \ --enable-safe-mode --enable-magic-quotes \ --with-openssl=/usr/local/ssl \ --with-zlib-dir=/data/prj/zlib-1.2.3 \ --disable-bcmath \ --enable-dba --enable-ftp \ --with-gd --with-jpeg-dir=/usr/local/lib \ --with-ttf --with-curlwrappers \ --with-curl --with-freetype-dir \ --enable-gd-native-ttf \ --with-mysql=/usr/local/mysql \ --with-pear=/usr/local/bin make make install Expected result: ---------------- installed php Actual result: -------------- michael@x054:[/data/home/michael/prj/php5.2-200909161430]make install Installing PHP SAPI module: cgi Installing PHP CGI binary: /usr/local/bin/ Installing PHP CLI binary: /usr/local/bin/ Installing PHP CLI man page: /usr/local/man/man1/ Installing build environment: /usr/local/lib/php/build/ Installing header files: /usr/local/include/php/ Installing helper programs: /usr/local/bin/ program: phpize program: php-config Installing man pages: /usr/local/man/man1/ page: phpize.1 page: php-config.1 Installing PEAR environment: /usr/local/bin/ Warning: stream_context_create() expects at most 1 parameter, 2 given in /data/prj/php5.2-200909161430/pear/fetch.php on line 64 Warning: fopen() expects parameter 4 to be resource, boolean given in /data/prj/php5.2-200909161430/pear/fetch.php on line 66 Error.. fopen() expects parameter 4 to be resource, boolean given make: *** [install-pear] Error 1