1 mochababy Dec 21, 2009 16:52
3 mochababy Dec 23, 2009 01:12
the problem is that you have to have lighttpd compiled with LUA support. Not availiable in the repos at the moment. See documentaion here: http://manual.b2evolution.net/Appearance_of_my_permalinks#lighttpd_webserver
then you have do all the script nonesense. But what isn't told is that you have to install so many things to get to compile Lighttpd with the LUA support.
Such as the most up to day pcre lib, the zlib, and thing here and there that I don't remember. I gave up after three hours of this. The memory leak might have been fixed, I don't know yet. However I have 8 gigs or memory and it somehow leaked nearly 4 gigs of it somewhere in it's worker processes but it's not showing there are any processes currently running nor using the memory. It's in essence hogging the memory and not sending it back to the processor to let the processor know that it's done with it. I don't know how to explain it, I just realized that I might as well be running apache if it's gonna hog memory and I'll have to restart the server.
4 sam2kb Dec 23, 2009 10:54
I made some plugins for a b2evo blog running on nginx/0.7.61, but I have no idea how the server is configured.
There are a bunch of manuals about nginx though
http://wiki.nginx.org/NginxConfiguration
5 mochababy Dec 24, 2009 05:54
thanks sam2kb but i don't see too much info for b2evo. I'll keep trying and when I do I'll try to post something about it. I'm determined to make this work
6 sam2kb Dec 24, 2009 05:59
You can see all b2evo requirements on the System tab
http://demo1.b2evolution.net/stable/admin.php?ctrl=system&login=admin&pwd=demopass
That's basically all it needs from server. Also you may want to enable mod_rewrite or whatever it's called in nginx :)
7 mochababy Dec 24, 2009 18:39
it does have a rewrite engine but the problems I'm having now seem to have more to do with the php socket sadly. here is the debug info:
Warning: require_once(/home/vhosts/light.mheadley.com/htdocs/inc/files/model/_resourcebundles.class.php) [function.require-once]: failed to open stream: No such file or directory in /home/vhosts/light.domain1.com/htdocs/inc/_core/_class5.funcs.php on line 57
Fatal error: require_once() [function.require]: Failed opening required '/home/vhosts/light.dmain1.com/htdocs/inc/files/model/_resourcebundles.class.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/vhosts/light.domain1.com/htdocs/inc/_core/_class5.funcs.php on line 57
8 sam2kb Dec 24, 2009 19:08
This sounds like some files are missing.
9 mochababy Dec 24, 2009 20:41
missing from the server config? or from the b2 system?
10 sam2kb Dec 24, 2009 20:50
Failed opening required '/home/vhosts/light.dmain1.com/htdocs/inc/files/model/_resourcebundles.class.php'
Are you sure this file actually exists?
11 mochababy Dec 24, 2009 21:18
it doesn't actually exist at all. The B3 3.x installation requires on some php functions that are version php 5.2.5 and above. They need to make note of this in the files. This file is called from who knows where! Still trying to figure it out, I might just end of porting back all my posts to 2.4.7. Testing it out now, will see wat's going on later. It wasn't Nginz by the way, it was spawn-fcgi that got the proxy pass and dropped it because of an internal error when it couldn't access all native functions.
12 sam2kb Dec 24, 2009 22:49
AFAIK b2evo 3 requires at least PHP 4.3 and MySQL 4.1. Functions from PHP 5 and above are optional.
Are you trying to install the official b2evo release from [url=http://b2evolution.net/downloads/index.html]here[/url]?
13 mochababy Dec 25, 2009 01:34
I started off in the beta, then upgraded to stable and didn't do the last update.
I think I might try whissip next, see if it really does work faster!
well I'm running php 5.1.6 and seeing this error. there IS a new function and method for including the php files needed by the core because I'm running version 2.4.2 right now (old installation) with no problems at all, even the rewirte engine is working perfectly for the pretty permalinks. However the 3.x is giving me an error. It would be nice if the developer could tell me what changed and how I could change it back.
It is also very weird that it's asking for a file that does not exist. Don't think it's a bug because apache+mod_fcgid handles it perfectly but lighttpd+spawn-fcgi and nginx+spawn-fcgi get this error. i wonder if there is a problem with the memory handling and that's whats hanging the program. It could be a bottleneck and memory isn't allocated so it doesn't build the entire script and the includes are just one jump short.
Does anyone know what happened in this file from 2.4.2 -> 3.3: what's the change and how can I change it back? I would like to be able to use 3.3 on my server
/inc/_core/_class5.funcs.php
Because it seems the method you guys are employing to call the different classes and load the files aren't coming together when using spawn-fcgi and the 3.3
If anyone is using 3.3 and has lighttpd/nginx please let me know how you did it!
14 sam2kb Dec 25, 2009 01:43
Again, you are trying to install a development version of b2evolution.
There's no file named _resourcebundles.class.php in released b2evo 3.3.3
Grab a fresh zip from [url=http://b2evolution.net/downloads/index.html]here[/url] and try again.
15 mochababy Dec 25, 2009 02:01
update:
I installed the new version 3.3.3 successfully. Maybe I forgot a file before. no errors so I guess there might be a problem only if you ran the beta version and did upgrades like that. I really think I became an old man and forgot a few files so it didn't work. Thanks for being a springboard but I got it all. I will write the rewrite rule for nginx in the next few hours or after the holiday so that others can use it. Who do I talk to about putting it in the manual?
16 sam2kb Dec 25, 2009 02:08
Cool :)
I will write the rewrite rule for nginx in the next few hours or after the holiday so that others can use it. Who do I talk to about putting it in the manual?
Just create an account and put your nginx manual somewhere in Install/Upgrade section http://manual.b2evolution.net/Install_Upgrade
17 fplanque Dec 26, 2009 11:48
To this day, b2evo never ever tried to include a file named _resourcebundles.class.php
What you are running is *not* a clean b2evo install.
18 mochababy Dec 28, 2009 04:05
yes, I figured i must have been running whissip or something of the sort. Still don't know what the problem was, did discover that whissip is a little faster however in the initial loading, might want to ask how that's done.
19 blueyed Jul 21, 2010 00:46
yes, _resourcebundles.class.php is from whissip (but should exist then, of course) - maybe some php opcode cache messed up?
anyway, I am running nginx myself, works fine. There are others, too.
this is my config basically (I am using php5-fpm from dotdeb.org):
server {
listen 80 default;
server_name .example.com;
access_log /var/log/nginx/access.log;
set_real_ip_from 10.122.1.80;
set $my_https "off";
if ($http_x_forwarded_proto = "https") {
set $my_https "on";
}
location /install { return 403; }
location / {
root /var/www/web;
index index.php index.html index.htm;
try_files $uri $uri/ $uri/index.php @php;
}
location ~ ^(.+\.php)(.*)$ {
root /var/www/web;
fastcgi_pass 127.0.0.1:9000;
include fastcgi_params;
fastcgi_param HTTPS $my_https;
}
location @php {
root /var/www/web;
fastcgi_pass 127.0.0.1:9000;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root/index.php;
}
}
Never tried nginx, however I didn't know there were issues with lighttpd. Any handy pointers on that?