PHP broke after rh7.3 -> rh9.0

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dan

    PHP broke after rh7.3 -> rh9.0

    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,s econds... 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_procedurec olumns in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name -
    odbc_specialcol umns 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_prec ision 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:".dech ex($today[minutes])."\n";
    echo "Minutes:".$tod ay[minutes]."\n";
    ?>

    Thanks for any ideas.
    Dan


Working...