Function ereg() is deprecated errors
Posted by: meshaw (---.plus.com)
Date: July 15, 2009 05:23PM

Hi

I'm new to this. I just downloaded wamp for the first time. On doing the php install I am getting a load of errors like this

: Function ereg() is deprecated in C:\wamp\www\drupal\includes\file.inc on line 895.

From looking round the web it seems to be because php5.3 does not support this function any more. Will wamp server have an update to cure this soon?

Michael

Options: ReplyQuote
Re: Function ereg() is deprecated errors
Posted by: c2dan (---.15-1.cable.virginmedia.com)
Date: July 15, 2009 07:34PM

You will need to downgrade PHP to to php5.2.x or update your code to not use ereg functions.

You should have a read of the migration guide in the php manual -> [uk.php.net]

WAMP cannot sort this issue.

Options: ReplyQuote
Re: Function ereg() is deprecated errors
Posted by: WareWolf (---.hsd1.ut.comcast.net)
Date: July 30, 2009 02:22PM

Added the older 5.2.xx wamp, reset the checkmark to that version, and all is good again.. thanks for the info's..

Options: ReplyQuote


Sorry, only registered users may post in this forum.