Manage the php errors

Hi
Server Debian stretch with a yunohost update

Is there an easy way to print the php errors only for a specific dir on a my_webapps ?
Perhaps with a .htaccess ?
Thanx

htaccess only work with apache2, YunoHost use nginx.

You could do this by editing /etc/nginx.conf.d/YOUR_DOMAIN/my_webapp.conf and/or /etc/php/fpm/7.x/???/my_webapp.conf

I found a easy way. Just a file “.use.ini” a the root of the specific dir with this content

display_errors = On

Thx :wink:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.