Link to home
Start Free TrialLog in
Avatar of jecommera
jecommeraFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Deprecated: Function ereg() is deprecated in C:\wamp\www\drupal-6.17\includes\file.inc on line 926 error when installing Drupal

Hi,

I get Deprecated: Function ereg() is deprecated in C:\wamp\www\drupal-6.17\includes\file.inc  on line 926 error when installing Drupal.
I have installed WAMP.

Does anyone know how to fix this?
ASKER CERTIFIED SOLUTION
Avatar of theremon
theremon
Flag of Greece image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
One quick additional note. Since I guess you won't go for updating Drupal's code, one solution is to actually downgrade to a PHP version prior to 5.3.0

In Drupal's forums there are several messages on this issue, as there also are in  several sites around the web. For example:
http://drupal.org/node/514334
http://drupal.org/node/717866
http://hiveminds.co.uk/2010/04/04/fixing-deprecated-ereg-php-in-drupal/

or check this google results set:
http://www.google.gr/search?sourceid=chrome&ie=UTF-8&q=drupal+php+5.3+ereg
Ah, I didn't see iobox's reply since I was typing. Didn't know WAMP is coming with double PHP versions. That's nice and handy apparently :)
@theremon this is i think the only awsome feature of wamp! you can test your scripts on different versions! really great and fast actually...