HostNed Community

WEB HOSTING DISCUSSIONS => Linux Hosting => Topic started by: Dynaweb on October 18, 2011, 06:02:50 PM

Title: Function ereg() is deprecated in /home/domain/public_html/file.php
Post by: Dynaweb on October 18, 2011, 06:02:50 PM
Since the upgrade to PHP version 5.3.8, many sites are reporting error messages similar to this one...

Function ereg() is deprecated in /home/domain/public_html/file.php

This can be easily fixed by editing the PHP code in the file.

Find "ereg" and replace with "preg"

That should suppress the annoying error message.