DesktopServer – Create locally installed WordPress Websites › Forums › Public Discussions › Switch between development and production php.ini Tagged: error_reporting, php.ini This topic contains 4 replies, has 2 voices, and was last updated by Kathy 2 years, 7 months ago. Author Posts August 5, 2015 at 8:57 am #71881 KathyParticipant In the xamplight/php folder I see there are two files: php.ini-development and: php.ini-production Is there a way to automatically regenerate the php.ini from these (so to switch between them) or are they just meant as suggestions for editing the main php.ini file? August 5, 2015 at 11:34 am #71953 Marc BenzakeinKeymaster Hi Kathy, At this time, no. These will be used in future releases of DesktopServer that we are working on. Hope that helps! August 5, 2015 at 11:40 am #71954 KathyParticipant Ok, good to know. Thank you for the reply! So if I want to modify php.ini I should edit that file directly and restart the services? I’ve tried setting display_errors=Off in php.ini and the error messages are still displayed. August 5, 2015 at 11:41 am #71958 Marc BenzakeinKeymaster Yes. That is correct! And you’ll definitely need to restart. August 5, 2015 at 12:06 pm #71969 KathyParticipant Have restarted the server multiple times. display_errors=Off display_errors=’Off’ display_errors=’0′ display_errors=0 all have no effect on the display of PHP errors. Author Posts The forum ‘Public Discussions’ is closed to new topics and replies.