I am installing Drupal on my mac for the first time and I keep getting this error. I am new to macs and fairly new to Drupal. I am running XAMPP and that seems to be working very well. Please help!


VM’s picture

Drupal 6.x is not PHP 5.3 compatible at the moment. Roll back to PHP 5.2.10

crocha913’s picture

i'm having trouble finding xampp that has PHP 5.2.10. can anyone provide a link for download? thanks

VM’s picture

it is best to ask in their community.

lubrifix’s picture

maybe try one of the versions at this link : http://sourceforge.net/projects/xampp/files/XAMPP%20Mac%20OS%20X/

lubrifix’s picture

version 1.0.1 uses php 5.2.9 and solved the issue for me

ksandler’s picture

edit your php.ini to disable error reporting for deprecated commands

1. open [xampp dir]/etc/php.ini (for me on linux this was /opt/lampp/etc/php.ini)
2. change this line:

error_reporting = E_ALL | E_STRICT

to this:

error_reporting = E_ALL & ~E_DEPRECATED

3. restart xampp

the installation should now work

* when modifying php.ini, make sure you have write permissions
* the line in php.ini you want is around line 516. make sure you're editing a line that doesnt begin with a semicolon (those lines are comments and dont affect anything)
* this will squelch all notices of deprecated methods