How to set max_nesting_level without using xdebug?

173
August 06, 2018, at 6:00 PM

The problem is, I want my production server to throw an error to https://sentry.io/ if there is an error because of nesting level more than x step. We had incident recently and it took us a few days to investigate, finally we found out that one segment of the code causes an infinity loop.

I took a few hours to look on the internet but so far I found the solution that involve xdebug (using xdebug.max_nesting_level variable) and I don't want to enable that on my production server because it will slow down the request.

Does anyone know how to limit max_nesting_level without using xdebug? Other idea is welcome too :)

Rent Charter Buses Company
READ ALSO
MAGENTO : Wrong attribute group ID

MAGENTO : Wrong attribute group ID

I need some help how can I solve this error, im installing the extension ERP

167
convert string to base convert 62

convert string to base convert 62

I was trying to make a URL shortenerWhere the give url needs to convert to base 62

202
prepare SQLite insert statement inside php for loop

prepare SQLite insert statement inside php for loop

I want to prepare an SQL insert statement inside PHP for loop, my statement is something like this

174
How can I adapt the Stripe.js payment UI?

How can I adapt the Stripe.js payment UI?

I am using the Stripejs payment form for my PHP website

179