COPYRIGHT RESERVED 2009 BY MAX TSAI



Visit Max Tsai at Facebook | Twitter | atom

Saturday, January 23, 2010

HTTP Video Streaming - Day 1 Part 1

Base: Snow Leopard + MacPort

Installing lighttpd
  1. # port install lighttpd
  2. configure lighttpd @ /opt/local/etc/lighttpd/lighttpd.conf (make a copy from default)
  3. # launchctl load (to start automatically)
    # launchctl list to verify
    # launchctl start/stop org.macports.lighttpd to START or STOP the server
  4. Install PHP with fastcgi -- port install php5 +fastcgi (otherwise php-cgi is not compiled)
    look under the lighttpd.conf for instruction to activate PHP for lighttpd.
    ps. make sure mod_fastcgi is loaded (uncomment it!)
  5. good time to add additional PHP5 ports, i.e. php5-mysql.

No comments:

Post a Comment