Apache Build Script


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. CFLAGS="-arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk" \
  2. ./configure --prefix=/Developer/Servers/apache_2.2.11 \
  3. --enable-mods-shared=all \
  4. --enable-cache \
  5. --enable-dav \
  6. --enable-dav-fs \
  7. --enable-dav-lock \
  8. --enable-deflate \
  9. --enable-disk-cache \
  10. --enable-echo \
  11. --enable-expires \
  12. --enable-file-cache \
  13. --enable-headers \
  14. --enable-info \
  15. --enable-logio \
  16. --enable-mime-magic \
  17. --enable-proxy \
  18. --enable-rewrite \
  19. --enable-speling \
  20. --enable-ssl \
  21. --enable-usertrack \
  22. --enable-vhost-alias \
  23. --with-mpm=prefork
  24.  
  25. make
  26.  
  27. sudo make install
  28.  
  29. ln -s /Developer/Servers/apache_2.2.11 /Developer/Servers/apache
  30. ln -s /Developer/Servers/apache_2.2.11 /Developer/Servers/apache2

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.