PHP errors display on WebStation

Currently reading
PHP errors display on WebStation

Hi,
I have installed PHP 7.4 and web station. DSM 7.1.
I would like to have the php error displayed directly on the web page. Unfortunatly, I have an Error page with only the circled number(500).
I have activated the error_display on the php page in the webstation but I still get the default error page.
I am using Nginx. I tryied the custom error page but it is not possible to just leave the php error message.
Thanks for your help
R.
 
I answer to my own question just in case someone would be interested :

I noticied that the nginx config file had the following parameter : fastcgi_intercept_error turned on.
This parameter is set by default to 'on' in the template file of nginx.
In my case the file was at the following path :
Code:
/volume2/@appstore/WebStation/misc/nginx_default_server.mustache

After changing seting it to off in the .mustache file, you need to restart nginx :
Code:
synosystemctl restart nginx (on GSM 7.x)
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

  • Question
I am using a locally hosted Joomla site on Web Station. It was installed using PHP 8.0 but now I want to...
Replies
0
Views
581
It's a bit hit and miss, what I did was to review the site configuration files that were created in...
Replies
3
Views
804
Hey there guys below is the php info of my site. I want to host an ecommerse site on my NAS do you think...
Replies
0
Views
576
Hello, I have a package based web service for a locally hosted Joomla site on Web Station. It was...
Replies
0
Views
1,276
And done, alas I'm stuck with running PHP 7.4 and PHP 8.4 though as if I remove 7.4 it takes out...
Replies
0
Views
792
If it's common for Synology to do this then I'll not worry.
Replies
6
Views
7,467
Thanks. Your solution is running just fine here as of this morning. Certainly adequate for a retiree's...
Replies
4
Views
2,364
Deleted member 673
D

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Back
Top