Another issue. After running, sudo port install php5 +macosx I get the error and see: checking for working const... yes checking for flex version... invalid configure: warning: flex versions supported for regeneration of the Zend/PHP parsers: 2.5.4 (found: 2.5.33) checking whether /usr/bin/gcc-4.0 supports -no-cpp-precomp... yes checking whether to force non-PIC code in shared modules... no checking whether /dev/urandom exists... yes checking for pthreads_cflags... checking for pthreads_lib... Configuring SAPI modules checking for AOLserver support... no checking for Apache 1.x module support via DSO through APXS... configure: error: You have enabled Apache 1.3 support while your server is Apache 2. Please use the appropiate switch --with-apxs2 Error: Status 1 encountered during processing. Do I need "+apache2" or "+apache"?