From:             armin at xos dot net
Operating system: solaris 2.9 64 bit
PHP version:      5.2.1
PHP Bug Type:     Unknown/Other Function
Bug description:  php install probem

Description:
------------
related to: http://bugs.php.net/bug.php?id=39418

i had the same problem and submitted a bug report with gcc.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30819

i used the suggested compile flags and no segmentation fault anymore,
which shows it's a php bug - probably since i get following during make
install:

/usr/local/src/apache_etc/php-5.2.1_error/sapi/cli/php -n
-dshort_open_tag=0 -dsafe_mode=0 -dopen_basedir= -derror_reporting=E_ALL
-dmemory_limit=-1 -ddetect_unicode=0 pear/install-pear-nozlib.phar -d
"/usr/local/lib/php" -b "/usr/local/bin"

Warning: unpack(): Type V: not enough input, need 4, have 0 in
/usr/local/src/apache_etc/php-5.2.1_error/pear/install-pear-nozlib.phar on
line 339

Notice: Uninitialized string offset:  0 in
/usr/local/src/apache_etc/php-5.2.1_error/pear/install-pear-nozlib.phar on
line 342

Notice: Uninitialized string offset:  1 in
/usr/local/src/apache_etc/php-5.2.1_error/pear/install-pear-nozlib.phar on
line 342

Notice: Uninitialized string offset:  2 in
/usr/local/src/apache_etc/php-5.2.1_error/pear/install-pear-nozlib.phar on
line 342

Notice: Uninitialized string offset:  0 in
/usr/local/src/apache_etc/php-5.2.1_error/pear/install-pear-nozlib.phar on
line 343

Fatal error: Phar is API version 0.0.0, but PHP_Archive is API version
0.8.0 in
/usr/local/src/apache_etc/php-5.2.1_error/pear/install-pear-nozlib.phar on
line 353

please add "-fno-strict-aliasing and/or -fwrapv" to the c-flags for
solaris 2.9 64bit

however: how to fix the Phar archive problem?


-- 
Edit bug report at http://bugs.php.net/?id=40507&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=40507&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=40507&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=40507&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=40507&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=40507&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=40507&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=40507&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=40507&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=40507&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=40507&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=40507&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=40507&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=40507&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=40507&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=40507&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=40507&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=40507&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=40507&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=40507&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=40507&r=mysqlcfg

Reply via email to