run apache as the mac os x user 501 and group 20.
set max allowed packet on mysql.
add php-gmp.
add imagemagick.