[Drupal] Error occurts, Drupal 6.17 installation with lampp local host

When installing Drupal 6.17, I got some errors as below:

  
Deprecated: Function ereg() is deprecated in /var/www/drupal/includes/file.inc on line 926

 

It seems that there is not a good way to resolve this via google.com, but that I have a an method.

Add a "@" before the ereg(), the code of line 926 as below, be aware of the red.

 

elseif ($depth >= $min_depth && @ereg($mask, $file)) {

 

Then the installation runs well!

你可能感兴趣的:(Install)