Issue Type: Bug Created: 2010-06-30T20:23:23.000+0000 Last Updated: 2012-11-23T06:51:21.000+0000 Status: Closed Fix version(s): Reporter: Dylan Arnold (dtron) Assignee: None Tags: - Zend_Search_Lucene
Related issues: Attachments:
When trying to create a lucene index on a 64bit Centos machine running 32bit php I get the following exception.
Fatal error: Uncaught exception 'Zend_Search_Lucene_Exception' with message 'Long integers lower than -2147483648 (0x80000000) are not supported on 32-bit platforms.' in /mypath/ZendFramework-1.10.6/library/Zend/Search/Lucene/Storage/File.php:283
Posted by Ewg (ewg) on 2010-07-05T02:53:42.000+0000
Is this a problem ZF? Why run 32-bit php under 64-bit OS?
Posted by Dylan Arnold (dtron) on 2010-07-15T19:12:49.000+0000
I found the problem. It appears there is an issue with php 5.3.1 or at least my build of php 5.3.1
php-5.3.1/bin/php -r 'var_dump((int)0x80000000);' int(2147483647)
php-5.3.2/bin/php -r 'var_dump((int)0x80000000);' int(-2147483648)
All working with php-5.3.2
Posted by Dolf Schimmel (Freeaqingme) (freak) on 2010-07-15T19:16:50.000+0000
proposing to close as wont-fix since php5.3.1 will not be supported with zf2, and it is generally wellknown that 5.3.0 and 5.3.1 are buggy.
Posted by Dylan Arnold (dtron) on 2012-11-22T23:19:49.000+0000
Feel free to close this, it was more for book keeping for other users. Not using this version of PHP / ended up migrating away from Zend_Search_Lucene.
Have you found an issue?
See the Overview section for more details.