jyr / MNPP

Mac + Nginx + Percona + PHP a high performance web server in a one-click installer
http://getmnpp.org
314 stars 49 forks source link

MNPP Mac + Nginx + Percona + PHP

A high performance web server in a one-click installer.

Contributors

This project is currently maintained by the following people:

Jair Gaxiola (Core developer)
Dmitry Demenchuk
César Salazar

Pull requests authors

hmert
francescolaffi
gnuget

Features

Arch

Provisions

Needs a update of php, percona or nginx? Only change the software version in bootstrap.sh, example:

PERCONA_URL='http://www.percona.com/redir/downloads/Percona-Server-5.5/Percona-Server-5.5.30-30.2/source/'
PERCONA_FILE='Percona-Server-5.5.30-rel30.2'

After run

sudo sh /Applications/MNPP/provisions/bash/bootstrap.sh

Set environment

$ sudo sh /Applications/MNPP/init/environment.sh
$ source /Users/youruser/.bash_profile

Dynamic Extensions

MNPP by default only have mcrypt and gettext enabled, but if you need more can you install it for each php version, before install autoconf.

$ brew install autoconf

Version: 52 | 53 | 54

$ /Applications/MNPP/Library/php[VERSION]/bin/pecl install apc

You should add "extension=apc.so" to php.ini

Runs from console

All

$ sudo mnpp [Option] [Version]

Only one service

$ sudo mnpp [Service] [Option]

For php

$sudo mnpp php [Option] [Version]

Version: 52 | 53 | 54
Service: nginx | percona | php
Option: start | stop | restart

Percona account

User is root without password the same for phpmyadmin