When I want to install drupal 6 on php 5.3, I get a bunch of deprecated message:
"Deprecated: Function ereg() is deprecated in C:\wamp\www\baby-bmw.localhost\includes\file.inc on line 902"

How can I make sure they don't show up in the installation? (not that it should matter for what happens behind the scene)

Comments

gpk’s picture

Hmm don't think that should realy happen, 6.14 and higher is supposed to work with PHP 5.3. See http://drupal.org/node/579476 and #360605: PHP 5.3 Compatibility. You might want to report your problem at the bottom of that issue.

kjarli’s picture

It does work, just throws Deprecated (which makes sense). I've installed 5.2.11 on my wamp and it all works fine now. :)

gpk’s picture

I think it is supposed not to throw Deprecated, but maybe that setting isnt' sticking.

dyrer’s picture

warning: Parameter 1 to profile_load_profile() expected to be a reference, value given in /home/admin/domain/main/includes/module.inc on line 462.

How can I fixied that? What causes

gpk’s picture

What versions of PHP and Drupal are you using?

Probably it's caused by a contrib module that is not PHP 5.3 compatible, if that is indeed your PHP version.

Trejkaz’s picture

I get this too (PHP 5.3.2-1ubuntu4.2, Drupal 6.19). How did you fix it?