Drupal 6.22 on PHP 5.2.10-2ubuntu6.5

Attempting to set up a test site with the DITA module, I receive the following error from the DITA Conversion Server:

Parse error: syntax error, unexpected T_FUNCTION in /home/jjkd/d6/drupal-6.22/sites/all/modules/dita/dita_conversion_server/dita_conversion_server.module on line 85

Comments

jjkd’s picture

Ok, it looks to me as this is due to using PHP 5.3 syntax for an anonymous function. Not sure if the intent is to require PHP 5.3 for this project...

tamasd’s picture

Status: Active » Closed (won't fix)

PHP 5.2 is reached its end of life, which means that it does not get any offical bugfix or security fix. That is why we dropped the support of PHP 5.2.

jjkd’s picture

No problem, I switched to PHP 5.3.2 which indeed got rid of the issue.

Should the requirement for PHP 5.3 be listed on the module info page?

http://drupal.org/node/993560