I have a serious problem with function track_errors in PHP4.0.6
Every time i want to use variable php_errormsg to catch the error, i
receive
this message:

Warning: Undefined variable: php_errormsg in
/usr/local/apache/htdocs/teste/c10/ex19.php on line 85
Query failed: error was ''

I want to mention that:
- no one errors in compilation process for PHP 4.0.6 and APACHE 1.3.20
- in my php.ini file, the track_error function is turned ON
- My web server is compiled using DSO and is configured correct(to support
PHP4
in httpd.conf and so on...........).
-i use REDHAT 6.2 updated with vanilla kernel 2.4.9 (with reiserfs
installed and 
all problems regardind upgrade to a new major version of kernel, solved).
-the script used to test function track_errors is absolutely correct. I
said this,
because i have the SECOND SYSTEM which is configured with the same options
for
Apache web server 1.3.20 AND PHP4.0.6, and this script WORKS ==>> so in
this case
for my first system is exclus a problem regarding compilation AND ANY
configuration
options!!!
-in rest, everything works fine.

EXIST ONLY ONE DIFFERENCE BETWEEN THIS SYSTEMS:
THE SECOND RUN UNDER REDHAT 7.1 (with native filesystem ext2fs)

In conclusion, can anybody tell me what library is needed to be upgraded on
my first
system (wih REDHAT6.2) to enable track_error function and php_errormsg ?

I want to mention that the same problem was with gd-library. In compilation
process everithing was fine, but all features of this libraryy in PHP
didn`t
work till gd-library was updated with a (minimal) correct version.

I tryed to find an explanation for my problem reading PHP documentation,
but nowhere i can find a minimal information.

A prompt reply would be appreciated.

Alex

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to