Installing Litespeed Web Server, MySQL, and PHP on your Mac OS X machine (also works

Discussion in 'Install/Configuration' started by bzerangue, Oct 29, 2011.

  1. bzerangue

    bzerangue New Member

    ## Installing Litespeed Web Server, MySQL, and PHP on your Mac OS X machine (also works with Lion)

    - Install Xcode
    - Turn off the default Mac OS X Apache (go to System Preferences > Sharing > “uncheck” Web Sharing
    - Download and install MySQL (http://www.mysql.com/downloads/mysql/)
    - Run sudo install_name_tool -id /usr/local/mysql/lib/libmysqlclient.18.dylib /usr/local/mysql/lib/libmysqlclient.dylib
    - Download and install Litespeed Web Server Standard (FREE)

    curl -O http://www.litespeedtech.com/packages/4.0/lsws-4.1.7-std-i386-osx.tar.gz

    tar -xzvf lsws-4.1.7-std-i386-osx.tar.gz

    cd lsws-4.1.7

    sudo ./install.sh

    - Download and compile (sudo ./configure, sudo make, sudo make install) the following libraries...
    - libjpeg - http://www.ijg.org/files/jpegsrc.v8c.tar.gz
    - libpng - http://prdownloads.sourceforge.net/libpng/libpng-1.5.5.tar.gz?download
    - freetype - http://sourceforge.net/projects/freetype/files/freetype2/2.4.7/freetype-2.4.7.tar.gz/download
    - libmcrypt - http://sourceforge.net/projects/mcrypt/files/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz/download
    - gettext - ftp://ftp.gnu.org/gnu/gettext/gettext-0.18.tar.gz
    - icu - http://sourceforge.net/projects/icu/files/ICU4C/4.8.1/icu4c-4_8_1-src.tgz/download
    - iconv - http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz

    - Log into Litespeed Webserver and Compile PHP through Litespeed...

    '--with-zlib' '--with-gd' '--enable-shmop' '--enable-track-vars' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-magic-quotes' '--enable-mbstring' '--with-iconv' '--with-curl=/usr' '--enable-soap' '--enable-exif' '--with-jpeg-dir=..' '--with-png-dir=..' '--with-freetype-dir=..' '--with-libxml-dir=/usr' '--with-xsl=/usr' '--enable-gd-native-ttf' '--with-ttf' '--enable-libxml' '--enable-xml' '--enable-simplexml' '--enable-wddx' '--enable-sockets' '--enable-bcmath' '--enable-dbase' '--enable-zend-multibyte' '--enable-session' '--with-pcre-regex' '--enable-sigchild' '--enable-magic-quotes' '--enable-zip' '--with-mcrypt=/usr/local/bin/mcrypt' '--with-openssl' '--with-litespeed' '--with-bz2=/usr' '--enable-calendar' '--enable-mbregex' '--enable-sysvmsg' '--with-xmlrpc' '--with-mysqli=/usr/local/mysql/bin/mysql_config' '--with-mysql=/usr/local/mysql' '--with-mysql-sock=/tmp/mysql.sock' '--enable-pdo' '--with-pdo-mysql=/usr/local/mysql/bin/mysql_config' '--with-gettext'
    Last edited: Feb 10, 2012

Share This Page