Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
You're probably using PHP 5.3 or later, which Drupal was not coded for. D7 will support PHP 5.3.
Basically, it's not an earth-shattering problem. ereg() was considered deprecated as of PHP 5.3 (slated for removal in PHP 6), but it actually still works just fine. The easiest fix is to adjust your warning level as discussed here.
Comments
You're probably using PHP 5.3
You're probably using PHP 5.3 or later, which Drupal was not coded for. D7 will support PHP 5.3.
Basically, it's not an earth-shattering problem. ereg() was considered deprecated as of PHP 5.3 (slated for removal in PHP 6), but it actually still works just fine. The easiest fix is to adjust your warning level as discussed here.