
10-29-2011, 09:44 AM
|
|
Member
|
|
Join Date: Jun 2007
Posts: 23
|
|
Installing Litespeed Web Server, MySQL, and PHP on your Mac OS X machine (also works
## 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/package...386-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/l...ar.gz?download
- freetype - http://sourceforge.net/projects/free...ar.gz/download
- libmcrypt - http://sourceforge.net/projects/mcry...ar.gz/download
- gettext - ftp://ftp.gnu.org/gnu/gettext/gettext-0.18.tar.gz
- icu - http://sourceforge.net/projects/icu/...c.tgz/download
- iconv - http://ftp.gnu.org/pub/gnu/libiconv/...nv-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 by bzerangue; 02-09-2012 at 05:59 PM..
Reason: didn't finish post
|