Connecting Tech Pros Worldwide Help | Site Map

PHP broke after rh7.3 -> rh9.0

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 17th, 2005, 01:36 AM
Dan
Guest
 
Posts: n/a
Default 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,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



 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.