Skip to content
/ MNPP Public
forked from jyr/MNPP

Mac + Nginx + Percona + PHP a high performance web server in a one-click installer

Notifications You must be signed in to change notification settings

naizhao/MNPP

 
 

Repository files navigation

#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

  • Start / stop services global
  • Open the default page MNPP
  • Set preferences - start / stop global services

##Arch

  • x86_64

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

About

Mac + Nginx + Percona + PHP a high performance web server in a one-click installer

Resources

Stars

Watchers

Forks

Packages

No packages published