Category Archives: phpBB

Step by step install Engine X (nginx) and php-fpm in FreeBSD

0
Filed under BSD, phpBB, server side
Tagged as

1. Install nginx

# cd /usr/ports/www/nginx
# make install

choose :

HTTP_MODULE
HTTP_REWRITE_MODULE
HTTP_SSL_MODULE
HTTP_STATUS_MODULE
.....

2. Install php

# cd /usr/ports/lang/php5
# make install

choose :

CLI
CGI
SUHOSIN
IPV6
FASTCGI
PATHINFO
.....

3. Install php-fpm freebsd ports

# wget

save.

edit /usr/local/etc/nginx/nginx.conf

Find this lines in nginx.conf and adjust :

root /usr/local/www/nginx;

location / {
index index.php index.html index.htm;
}

location ~ .php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /usr/local/www/nginx$fastcgi_script_name;
include fastcgi_params;
}

Edit /usr/local/etc/php-fpm.conf

Find these lines :

nobody –>
nobody –>

change nobody into www (or your www user)

www
www

Run the services

# /usr/local/etc/rc.d/php-fpm start
# /usr/local/etc/rc.d/nginx start

5. Testing

# cd /usr/local/www/nginx

# nano info.php

save.

done.

Compatible with Apache’s log file format

log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                        '$status $body_bytes_sent "$http_referer" '
                        '"$http_user_agent" "$http_x_forwarded_for"';

FROM HERE

Moderator can’t make sticky Posts !

0
Filed under phpBB
Tagged as
  1. Go to your ACP
  2. click the users and groups tab,
  3. groups
  4. “Groups forum permissions”,
  5. click the group you want to set the permissions for, and click go,
  6. select the forum[s] you want to allow them post stickys,click submit
  7. either select all yes, or click “Advanced Permissions” and tick yes next to “can post stickys”.