Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By crocha913 on
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!
Comments
=-=
Drupal 6.x is not PHP 5.3 compatible at the moment. Roll back to PHP 5.2.10
thanks! but i'm having trouble finding xampp....
i'm having trouble finding xampp that has PHP 5.2.10. can anyone provide a link for download? thanks
=-=
it is best to ask in their community.
maybe try one of the versions
maybe try one of the versions at this link : http://sourceforge.net/projects/xampp/files/XAMPP%20Mac%20OS%20X/
version 1.0.1 uses php 5.2.9
version 1.0.1 uses php 5.2.9 and solved the issue for me
edit your php.ini to disable
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
notes:
* 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
kpeace