Jump to content

error management - php.ini


sohdubom

Recommended Posts

hi. i know that with PHP we have a few ways to deal with errors: configure the php.ini file, set error handling or work with exception handling which is a more OOPish way. i also know that once i decide to go with either error handling or exception handling the configs set in php.ini file will be bypassed and it's up to the developer to deal with the errors.

 

well, the doubt i have is regarding php.ini . suppose i'm using a shared host and we have 2 or more webapps running in this box. all of those apps are relying on php.ini configs ... i don't know how is the server architecture, but i think all those apps run over just 1 php.ini file so i believe we should set the configs through our PHP code and not in the php.ini file, otherwise the php.ini configs will be applied to all the apps. Is it right?

 

thanx in advance, sohdubom

Link to comment
https://forums.phpfreaks.com/topic/154856-error-management-phpini/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.