Setting track_errors

From: Date: Thu, 13 Jul 2000 04:17:14 +0000
Subject: Setting track_errors
Groups: php.general 
Request: Send a blank email to php-general+get-6379@lists.php.net to get a copy of this message
Hi Y'all: I'm writing some documentation and want to make sure it's clear and correct. The users need to have track_errors set. I've established a test for them to run. If the test fails, it displays the instructions, below. [Setting track_errors] can be accomplished in one of two ways: php.ini If you control your system, the easiest thing to do is set the variable in your php.ini file. Find the line in your php.ini file where track_errors resides and then set it to the following: track_errors = On .htaccess You can set variables via the .htaccess files within each direcory from which the SQL Solution is called. If you already have .htaccess files, open the ones in question for editing. Otherwise, create .htaccess files in the needed directories. Then, and add one of the following lines, depending on which version of PHP you're running: PHP 3: php3_track_errors on PHP 4: php_flag track_errors on Am I on target? For example, the instructions assume the syntax for the php.ini files, "track_errors = On," is the same between PHP 3 and 4. Of course, we all know what they say about the word "assume." Similarly, track_errors can be set in .htacces in PHP 4, right? Any and all corrections, clarifications welcome. Thanks, --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y More than just answers. Solutions. (SM) http://www.analysisandsolutions.com/ 4015 7 Av #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

« previous php.general (#6379) next »