Closed (fixed)
Project:
Search Lucene API
Version:
6.x-2.1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
23 Feb 2010 at 13:52 UTC
Updated:
1 May 2010 at 23:08 UTC
Jump to comment: Most recent file
Comments
Comment #1
cpliakas commentedHi davetbo.
Sorry for your issues, and thanks for bringing up this dependency problem. The attached patch removes the PHP 5.2 dependency and will be applied to the 6.x-2.2 release. I am flagging the status as "needs review", and please feel free to switch to "reviewed & tested by the community" if it resolves your issue.
Regarding PHP on CentOS, I am not a fan of the RPMs they provide. Many modules (including Apache Solr) use UTF8 regular expressions seeing how Drupal is a UTF8 based CMS. The fact that the CentOS RPMs don't have this compiled in is disconcerting. I do a lot of work with Blackmesh hosting (http://www.blackmesh.com/), one of the premier Drupal hosting companies in the world, and they actually use the RPMs provided by a dude named Remi. For installation instructions, view the article at http://bluhaloit.wordpress.com/2008/03/13/installing-php-52x-on-redhat-e.... That way you don't have to mess around with SRPMs, and you can get the latest versions of PHP without having to break any RPM dependencies.
Hope this helps,
Chris
Comment #2
cpliakas commentedAfter testing, this patch words as expected. Added in commit #334100.
Comment #4
mdinc_org commentedif(!function_exists('array_fill_keys')){
function array_fill_keys($target, $value = '') {
if(is_array($target)) {
foreach($target as $key => $val) {
$filledArray[$val] = is_array($value) ? $value[$key] : $value;
}
}
return $filledArray;
}
}
А чем этот вариант не подошел?