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

Starting Nginx - 10.7, MNPP-0.3.8 #65

Open simonoche opened 11 years ago

simonoche commented 11 years ago

Nginx wont start with 0.3.8 : /Applications/MNPP/Library/10.7/nginx/logs is required by nginx, but missing in this version package. So you currently have to create it manually.

nginx: [alert] could not open error log file: open() "/Applications/MNPP/Library/10.7/nginx/logs/error.log" failed (2: No such file or directory) 2013/04/25 12:50:31 [emerg] 3572#0: open() "/Applications/MNPP/Library/10.7/nginx/logs/access.log" failed (2: No such file or directory)

jyr commented 11 years ago

Hi simonoche,

Tries with

sudo sh /Applications/MNPP/init/environment.sh

or

mkdir /Applications/MNPP/Library/nginx/logs
simonoche commented 11 years ago

Hey! Yeah I know, it was just to report this "issue"! Regards, Simon

jyr commented 11 years ago

This "issue" was repaired for OS X 10.8 https://github.com/jyr/MNPP/blob/master/init/environment.sh#L9

The firts build was for OS X 10.7, after for OS X 10.8. I need to generate the build for OSX 10.7, but now just have OS X 10.8 installed.

simonoche commented 11 years ago

Okay :+1:

jyr commented 11 years ago

Thanks a lot Simon.

simonoche commented 11 years ago

Thanks for the project ;)

By the way, this is not an issue, but I noticed that performances in 0.3.8 are worse than with the last build with Nginx 1.0.9, PHP 5.3.8. With same php extensions enabled, same php/nginx config, and so on.

I don't know why. The homepage of one of the websites I work on (symfony with caches) loaded in 100ms, and now, it takes +- 300ms (with 0.3.8). Another case : for a light website with wordpress (without any WP cache plugin), it was 200ms, and now it's 350ms for generating the homepage.

So, for this time, I stay with the older build :/

jyr commented 11 years ago

Maybe we can keep with thread in https://groups.google.com/forum/?hl=en&fromgroups#!forum/getmnpp or https://groups.google.com/forum/?hl=en&fromgroups#!forum/mnpp-devel