Connecting Tech Pros Worldwide Forums | Help | Site Map

PHP broke after rh7.3 -> rh9.0

Dan
Guest
 
Posts: n/a
#1: Jul 17 '05
php is acting funny after an upgrade from RH7.3 to RH9.0. My hope is that
someone can see the output and recognize what the problem might be.

I have a set of php scripts set to run from the command line. I have a
microcontroller which connects to this server over a dialup connection.
While connected and transferring data, it also sets its clock via a call to
different scripts named hours,minutes,seconds... I call them seperately so
as to not have to parse a string like 23:34:02 on the very limited memory
and processing ability on the microcontroller. That's the background. It
used to work fine. I noticed the change soon after the upgrade, so I assume
that's when it broke. Here is the output :

hundreds of lines similar to these having to do with imap, mysql, ldap, pg,
etc..:

PHP Warning: Function registration failed - duplicate name -
odbc_procedures in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
odbc_procedurecolumns in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
odbc_specialcolumns in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
odbc_statistics in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - odbc_do in
Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
odbc_field_precision in Unknown on line 0
PHP Warning: odbc: Unable to register functions, unable to load in Unknown
on line 0
Minutes:1

then finally, the correct output.

I am assuming that this is just a simple problem with configuration
somewhere, but I haven't been able to find it. Here is that script, if it
helps:

#!/usr/bin/php -q
<?php
$today=getdate();
//echo "Minutes:".dechex($today[minutes])."\n";
echo "Minutes:".$today[minutes]."\n";
?>

Thanks for any ideas.
Dan



Closed Thread