Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: Nginx - invalid variable + directive is not allowed here

$
0
0
Permission for file ? ( sudo chmod -R 777 /var/www/ risk but for test )
Site is working ok under apache2 + libapache2-mod-php7.0 php 7,

Back to Nginx
I check usr/share/nginx/html .......

What I see ?
index.html, i copy here info.php too.

So I tried mysite/index.html
Welcome to nginx!

mysite/index.html
Information about PHP

I was searching information about root and www directory <-> usr , and

root /var/www/html;

cannot be in "location". Move under server fix all problems. :)



itpp2012
Thanks for all your advice.

Nginx/php fpm is more effective than apache2 in "viewing/explore" a large number of thumbnails (Plug Piwigo: "RV Thumbnail Scroller"Asynchronously loads thumbnails using ajax on index page as you scroll down to the bottom of the page.
Aka infinite scroll").

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>