Forum has no style or image except smileys

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
Registered User
Posts: 5
Joined: Wed Sep 04, 2019 4:10 am

Forum has no style or image except smileys

Post by bbphp555 »

phbBB version 3.2.7
nginx server on linux
php 5.6.4

I've already read this topic: viewtopic.php?t=2422026
phpMyAdmin is displaying properly.

Please help.

nginx config:

Code: Select all

http {
    # Compression - requires gzip and gzip static modules.
    gzip on;
    gzip_static on;
    gzip_vary on;
    gzip_http_version 1.1;
    gzip_min_length 700;

    # Compression levels over 6 do not give an appreciable improvement
    # in compression ratio, but take more resources.
    gzip_comp_level 6;

    # IE 6 and lower do not support gzip with Vary correctly.
    gzip_disable "msie6";
    # Before nginx 0.7.63:
    #gzip_disable "MSIE [1-6]\.";

    server {
        #listen 80;
        server_name localhost;
	root /usr/share/nginx/html/;
        include fastcgi_params;
	fastcgi_param REQUEST_METHOD $request_method;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;    
	fastcgi_split_path_info ^(.+\.php)(/.*)$;
        #fastcgi_param PATH_INFO $fastcgi_path_info;

	location / {
            index index.php index.html index.htm;
        location ~ \.php(/|$) {
	    fastcgi_pass unix:/run/php5-fpm.sock;

        # Deny access to internal phpbb files.
        location ~ /(config\.php|common\.php|cache|files|images/avatars/upload|includes|(?<!ext/)phpbb|store|vendor) {
            deny all;
	    return 403;


    # If running php as fastcgi, specify php upstream.
    upstream php {
        server unix:/tmp/php.sock;

Last edited by JimA on Wed Sep 04, 2019 10:42 am, edited 1 time in total.
Reason: Code tags added

Post Reply

Return to “[3.2.x] Support Forum”