How to compile a LEMP server Puppy

How to do things, solutions, recipes, tutorials
Post Reply
Message
Author
nicomate
Posts: 6
Joined: Fri 29 Jun 2012, 09:54
Location: Tokyo, Japan
Contact:

How to compile a LEMP server Puppy

#1 Post by nicomate »

LEMP stands for

Linux
Nginx(engine x)
MySQL
PHP

- Nginx

you can get nginx from here:

http://murga-linux.com/puppy/viewtopic. ... 82&t=48476

- PHP 5.3.10

get it from here:

http://rakko.mydns.jp/node/217

PHP in the ppm does not include fpm, so i compile a pet with the following options:

./configure \
--with-mysql=/usr/local/include/mysql \
--enable-zend-multibyte \
--with-pdo-mysql \
--with-zlib \
--with-xmlrpc \
--with-gd \
--with-curl \
--with-jpeg-dir=/usr/local \
--with-png-dir=/usr/local \
--enable-mbstring \
--enable-fpm \
--with-fpm-user=nginx \
--with-fpm-group=nginx \

i tried with newer versions of php, but no luck so far...

- MySQL

you can use the one in ppm.
or you get errors like "no mysql.h found",
download the binary version at the bottom of the download page:

http://dev.mysql.com/downloads/mysql/

which is:

Linux - Generic 2.6 (x86, 32-bit), Compressed TAR Archive

untar and place it where ever you like.
Last edited by nicomate on Wed 17 Oct 2012, 12:28, edited 1 time in total.

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#2 Post by darkcity »

nice work! added to wiki
http://puppylinux.org/wikka/LEMP

nicomate
Posts: 6
Joined: Fri 29 Jun 2012, 09:54
Location: Tokyo, Japan
Contact:

wow thanks!

#3 Post by nicomate »

> darkcity

such a honor to contribute for the puppy community!!!

Post Reply