Ok, thank you for your fast response
H
HPrivakos
@HPrivakos
Posts
-
PHP page in /public/ ? -
PHP page in /public/ ?Hi,
i own a small forum running on NodeBB and i try to add a php page.
So i added a link to /php (files are in /forum/public/php), but the file is downloaded, but not executed, i use a nginx proxy, and i added this in the config of my site (default in site-available)location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_index index.php; include fastcgi_params; }
But it's don't work.
I tested with the same nginx server, on another port (without nodebb installed on this port), and it's working, so the problem come from NodeBB and NGinx, not from php and the config.
Can you help me please?