PEAR conflict

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

    PEAR conflict

    Iam running a server and PEAR is compiled with PHP. Before some days I have
    upgraded PHP from 4.3.4 to 4.3.7 using Apache update from WHM (cPanel). This
    went well but after that one client contacted me to tell me that he have
    problems with showing some variables. The thing is that he told me that he is
    using his own PEAR installation in his web hosting account !

    This is part of the code which had a problem:

    $ID_rubrike =$row[ID]; //THIS VARIABLE NOT SHOWING

    $ID_stranice =$row[ID_stranice]; //THIS VARIABLE NOT SHOWING

    $tip_vijesti =$row[$naziv_tablica];//THIS VARIABLE WORKING OK

    Problem was found but it is weird. In his configuration od DB.php file following
    value was changed :
    define('DB_PORT ABILITY_LOWERCA SE', 0); This value was somehow set to "1" so "ID"
    was watched as "id"

    Then he change it back to "0" and it is OK now. I inspect server's PEAR
    installation under PHP and found that this value default is "1" . But it seems
    that his scripts are using his PEAR installation and not server PEAR.


    The big question is , can this be a conflict (his installation of PEAR and
    server's PEAR) and is it must that he uninstall his installation under his
    account ?


Working...