470,874 Members | 1,787 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,874 developers. It's quick & easy.

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_PORTABILITY_LOWERCASE', 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 ?
Jul 17 '05 #1
0 1373

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Sandro Dentella | last post: by
3 posts views Thread by junkmail | last post: by
1 post views Thread by DJ Majestik | last post: by
2 posts views Thread by Alan Prescott | last post: by
reply views Thread by bwhitehd | last post: by
1 post views Thread by IchBin | last post: by
1 post views Thread by CSTechie | last post: by
4 posts views Thread by awebguynow | last post: by
1 post views Thread by IchBin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.